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 >>

Windows Server Cluster and SQL AlwaysOn Avaiabilty Group
Hello, i have a problem with my Windows Server 2012 R2 Cluster. I have two nodes of SQL Server 2012. SQL Server was Standalone and use AlwayOn Availability Groups. I Use a File Share Witnees as Quorum. Now when i reboot the Fileserver on which the Fil

asked 8/13/2015 9:50:00 AM
by Alex
0 answers

initial catalog name change as per db name in ssis configuration.
Dear all, in our ssis package migrartion package project. i have faced a problem. our previous version ssis package there are lot of connection manager and we are configed ssis package configuration at that time db name is like ABC_DEPLOY. but after move

asked 8/12/2015 2:04:20 AM
by Subhamay
0 answers

Correcting Server Connection in Maintenance Plans
In SQL 2008 R2, if we clone an environment including SQL server, the maintenance plans retain a connection string to the source/original server they got cloned from and are not editable.  But, I was able to use a work around by editing them in BIDS a

asked 8/11/2015 6:21:24 PM
by Neel
0 answers

Excel source file issue in SSIS
The SSIS is getting fail, The excel source file not having all mapped column, so it is failing to read excel file, I want if column is not present in excel then just keep null for that column. I tried to insert data without column header,but not succeed.

asked 8/6/2015 9:13:07 AM
by Mohit Yadav
0 answers

When i use function and when i use store procedure in sql server
When i use function and when i use store procedure in sql Server

asked 7/31/2015 1:46:59 AM
by sameer Patil
1 answers

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

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-2017 Edgewood Solutions, LLC All rights reserved
Some names and products listed are the registered trademarks of their respective owners.