Viewing 15 posts - 226 through 240 (of 310 total)
Agreed, but sometimes it's useful, eg including a literal string in a constructed OPENQUERY(), eg :
SET @strCommand = "SELECT * FROM OPENQUERY(server, SELECT * FROM Database.dbo.Client WHERE Surname = '"...
April 20, 2005 at 3:53 am
Most SQL errors lead to at least a batch abort so internal error handling is unhelpful. Assuming that you are connecting through ADO, you need to check the ADO...
April 20, 2005 at 2:31 am
SET QUOTED_IDENTIFIER OFF allows you to use double quotes as well as single for strings but this is not usually a database default so needs to be included in your...
April 20, 2005 at 2:01 am
Is this a SQL error message (it sounds too helpful!) or something from the code? It could be permissions with the access denial misinterpreted - look at sp_AddLinkedSrvLogin.
April 20, 2005 at 1:54 am
Can you throw away the view and just access the underlying tables directly?
April 19, 2005 at 1:45 am
Easy when you know how! Many thanks.
April 13, 2005 at 4:15 am
My VB6 application connecting through ADO puts 'Visual Basic' in the Program Name column. Can anyone suggest as to how to make this more informative?
April 13, 2005 at 2:23 am
Because you are converting from a date expressed as text which can be interpreted ambiguously, you still need SET DATEFORMAT YMD or whatever.
April 8, 2005 at 7:17 am
Glad I could help.
You might look at Tools/Options/Connection in Query Analyzer. Is is using Regional Settings?
Microsoft defaults assume that everyone is American. That can cause problems if you...
April 8, 2005 at 2:54 am
You appear to be missing the third (Style) parameter from CONVERT. Also, consider using SET DATEFORMAT rather than relying on the server default. As a general rule, I...
April 8, 2005 at 2:13 am
Double congratulations!
I try at least to respond to as many questions as I ask but you are out of sight! This site is an invaluable resource, in no small...
April 8, 2005 at 1:55 am
Perhaps this is oversimplistic - but I like simple - and it avoids triggers which I don't like for performance and because, as a developer, it makes debugging harder /...
April 5, 2005 at 1:50 am
The fill factor only applies when the index is created. As inserts occur, this 'spare' space will get filled up until SQL Server is forced to make a page...
March 17, 2005 at 9:45 am
If data is added only to the end, then there won't be a page splitting / fragmentation issue (and you can have a 100% fill factor) but is the index...
March 17, 2005 at 1:54 am
To add an explanation : SQL Server only returns the last output to ADO. With NOCOUNT off, this is the 'records affected' message and not the recordset (which was...
March 17, 2005 at 1:45 am
Viewing 15 posts - 226 through 240 (of 310 total)