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

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

Timeout for latch :class ACCESS_METHODS_SCAN_RANGE_GENERATOR
  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

sql
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
by DHANUNJAY
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
by DHANUNJAY
4 answers

TEMPDB DATAFILES DRIVE CORRUPTED
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
by G.HERETIS
0 answers


 
Sponsor Information






 

Follow

Get Free SQL Tips

Twitter

LinkedIn

Google+

Facebook

Pinterest

RSS

Learning

DBAs

Developers

BI Professionals

Careers

Q and A

Today's Tip

Resources

Tutorials

Webcasts

Whitepapers

Tools

Search

Tip Categories

Search By TipID

Authors

Community

First Timer?

Pictures

Contribute

Events

User Groups

Author of the Year

More Info

Join

About

Copyright

Privacy

Disclaimer

Feedback

Advertise

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