| Store | Cart

Re: SQL Server 2008 Problem?

From: Jenda Krynicky <Jen...@Krynicky.cz>
Tue, 06 Aug 2013 13:49:18 +0200
From: "Litchfield, Greg" <glit...@GraceU.edu>
> I have a script that has run successfully for several years.  We> recently changed from SQL Server 2005 to SQL Server 2008 and now my> query results seem to be missing data.  The script runs a stored> procedure.  If I run the stored procedure from SQL Server Management> Studio I get 98 records.  When I run it from my script it only returns> 93 records.  The ones missing are records 74, 77, 95, 97, and 98.  Has> anyone seen a problem like this? 

Use the SQL Server Profiler to see the exact SQL the script attempts 
to run. 

If the script already had an open connection when you started the 
profiler, have a look even at the "Existing Connection" items. Maybe 
the options are set different between the connection used by the 
script and by the Management Studio. The ANSI_NULLS setting comes to 
mind, that one could affect the results as could 
concat_null_yields_null.

Jenda



===== Jen...@Krynicky.cz === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
	-- Terry Pratchett in Sourcery

_______________________________________________
Perl-Win32-Database mailing list
Perl...@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Recent Messages in this Thread
Litchfield, Greg Aug 01, 2013 07:34 pm
Josh Aug 01, 2013 07:37 pm
Shaun Wallace Aug 01, 2013 07:44 pm
Justin Allegakoen Aug 02, 2013 01:10 am
Jenda Krynicky Aug 06, 2013 11:49 am
Messages in this thread