Learn more about SQL Server tools


Tutorials          DBA          Dev          BI          Career          Categories          Events          Whitepapers          Q&A List          Join

SQL Server Question and Answers

Ask a SQL Server Question

Search All Questions:
SQL Server Questions And Answers
<< Previous Page        Next Page >>

Dynamic Stored Procedure work only on limmted number of records
This dynamic Sp works only where there are very few records and failes with 100+ lines of data. I can't firgure out why. Please help. Error Message when runnin g against data with 100+ records: "CategoryTimestampDurationMessageLinePosition Error7/30/201

asked 7/30/2015 6:28:08 PM
by helal
1 answers

stored procedure
dear all sql doctors, i had one stored procedure ...it has multiple coluns some of columns like start date, enddate, spped , distance , address. my need is the startdate & enddate are having records 12 am to 12 am, io need to change that to 2 am to

asked 7/30/2015 8:49:49 AM
by ys reddy
1 answers

  I see below messages in error log(screenshot below).Due to this the response time was very slow. And it caused timeout errors.As per my understanding,"ACCESS_METHODS_SCAN_RANGE_GENERATOR” indicates lot of concurrent parallel scans.Could you

asked 7/30/2015 6:42:12 AM
by ChaituKiran
1 answers

issues in Log shipping

asked 7/30/2015 1:31:53 AM
by siva sankhar
0 answers

Transpose Columns to Rows
I have my data (attached) in cloumns and I like to transpose them into rows. I tried Unipovt but since most of the fileds are dynamics and not fixed, I am having issues to set Unipivot dynamically. Here is current data in colums: create table #columnstor

asked 7/28/2015 8:07:34 PM
by helal
1 answers

Select - slow performing query
I have a query against a table with 31 million rows in it that is very slow performing.  I am including below the structure of the table and the query itself.  I have tried adding a non-clustered index with no benefit.  I am considering thi

asked 7/28/2015 3:51:44 PM
by Michael Cuccia
2 answers

How to enable Data Compression on Subscriber only?
Hi All, I have a transactional replication setup and i want to enable data compression(page or row) only on the subscriber side. I tried setting this up and it works fine until you reinitialize the subscriber. Everytime i reinitialize the subscription it

asked 7/26/2015 7:09:25 PM
by Sam
0 answers

AWS EC2 MS SQL server instance, not RDS - SQL Data Tools still missing.
Hello, I've read all your information on the limitations of an AWS RDS MS SQL server instance. I have installed an EC2 instance instead. I can now see folders in my SQL management console for reporting services and integrated servers etc but I don't se

asked 7/26/2015 4:17:07 PM
by Deborah
0 answers

When use function and when use store procedure. means in what scanerio i used fuction and store procedure..

asked 7/24/2015 5:40:32 AM
by sameer
0 answers

TRN file corrupted
Backup job for database threw error '64(The specified network name is no longer available.)' while attempting 'SetEndOfFile' on...' Tested BAK file restored with no problems.  DBCC CHECKDB  on restored BAK file reported no error

asked 7/22/2015 3:52:41 PM
by Elsie5000
0 answers

Log not truncating after multile log backups
Hello All, I have a log that will not truncate.  details about the database: 1. Database is in Full recovery 2. No replication or mirroring flags enabled 3. Database Never been backed up, but I did so before the log backups 4. Someone attempted

asked 7/21/2015 4:56:26 PM
by Elise5000
2 answers

How To Solve This in SQL SERVER 2008 R2
empnoenamesalary   1abhi10000.00    2balu20000.00    3chow40000.00    4dongi80000.00       i want output like empnoenamesalary 1abhi10000.00 2balu10000.00     3chow2000.00 4dongi40000.

asked 7/19/2015 4:25:08 AM
2 answers

How Many Records Load into Excel from OLEDB Source
I Have a table it has around 1,21,317 records are there while i am loading to excel it's loaded only 65683 records...how can i perform to load all records into excel.I am using SQL SERVER 2008R2.  

asked 7/17/2015 2:18:37 PM
4 answers

Hi, how to recover my TEMPDB DATABASE? My Tempdb Datafies drive is corrupted.   Thanks & Regards, Subhamay Chatterjee India

asked 7/17/2015 2:40:30 AM
by Subhamay
2 answers

Frozen table
Hello All, Used the import wizard to upload data from an Excel file.  Took the following steps:  1.      The import froze on a specific row. 2.      Cancelled the import due to ~2minute hang

asked 7/16/2015 6:46:33 PM
by Elise5000
4 answers

The value violated the integrity constraints for the column
We have SSIS jobs to import data from an upstream which would pass through stage tables, intermediate and then to final. In intermediate table we have NOT NULL constraint on a column. It never happened before and suddenly from upstream NULL values st

asked 7/16/2015 11:09:33 AM
by Harini
1 answers

mdx help
hello I am new in mdx and I need help I create a report using ssas as data source the problem is I that for one column when there are some specific data then I want to name it 'george' like in sql case when name in ( 'george', 'john') then 'first' &

asked 7/16/2015 6:36:06 AM
0 answers

Error during installation of an SQL server Failover Cluster Instance
Hi. I really need help . Im trying to install an SQL Server instance and I got  this error. I already check user and CNO permissions .. the CNO  had "Read all properties" and "Create Computer objects" . the user that create the instance is

asked 7/13/2015 9:31:27 PM
by alex84
1 answers

SSRS Reports Scheduling and exporting
I have 4 SSRS reports that must be scheduled to run at different times and then send these SSRS reports in csv format (tab delimited) to the ftp server of the third party client 

asked 7/11/2015 10:47:12 AM
by Kris Maly
0 answers

sql licences
  We have one SQL Proc Licence We have now purchased two new ibm servers. How much SQL licences we have to purchase  What is SQL CAL . do we require SQL CAL as 25 users are working on application running on one server. Which version of SQ

asked 7/11/2015 12:48:53 AM
by p k goel
1 answers

Sponsor Information



Get Free SQL Tips










BI Professionals


Q and A

Today's Tip







Tip Categories

Search By TipID



First Timer?




User Groups

Author of the Year

More Info








Copyright (c) 2006-2016 Edgewood Solutions, LLC All rights reserved
Some names and products listed are the registered trademarks of their respective owners.