Viewing 15 posts - 61 through 75 (of 82 total)
In the install directory the is a file instmsdb.sql which defines sp_sqlagent_notify which calls xp_sqlagent_notify.
It uses a flag @error_flag which may help.
This looks definitely undocumented !!
October 11, 2004 at 12:50 am
Not sure if this is it but, your cursor should be declared STATIC since the underlying data is being modified during execution. STATIC ensures a buffered copy is used for...
October 7, 2004 at 8:25 am
This may help:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT05.asp
Sorry to be vague - no time to look it up again - but I found this was the issue when I had a similar problem.
You...
October 1, 2004 at 8:46 pm
Only the in-house standards stop a user doing this (bypassing VSS and changing sprocs directly). We ask developers to check out of VSS to a local folder, edit and test...
August 18, 2004 at 7:21 pm
Does Bruce Powell not realise that cursors are slow only when compared with set based SQL statements? They are probably quick compare with running the loop over a client recordset.
Also...
August 18, 2004 at 12:35 am
Tymberwyld has made good points. I too find sprocs excellent for the bread and butter stuff of loads and saves. (And the use of udfs on loads is a good...
August 16, 2004 at 8:42 am
One point that has not been mentioned (but is perhaps implied) is that the major performance gain of stored procedures is in Network I/O.
A well designed sproc may encapsulate 10...
August 14, 2004 at 5:45 am
As far as I know SQL server does not track table updates so you would need to use triggers to do that.
You can get table name info from sysobjects where...
August 5, 2004 at 6:40 am
I agree with all Patryks reasons for using a data access layer.
I also re-iterate rugha's comment - see the microsoft SqlHelper class which they publish separately as a freely downloadable...
August 4, 2004 at 10:11 pm
I once had a similar problem and it was to do withthe scheduled job notification hanging - the job step itself completed but the agent process got hung on the...
July 28, 2004 at 8:20 am
You will need 2 SQL statements:
1. An UPDATE statement to cope with updating existing data - your statement in the first post in this thread looks OK I think.
2. An...
July 19, 2004 at 10:44 pm
If you do
sp_help DT_Users
you will see a collation name such as SQL_Latin1_General_CP1_CI_AS
You can then use the syntax belowm, substituting the actual collation of your SQL Server data.
.....
WHERE sAMAccountName COLLATE SQL_Latin1_General_CP1_CS_AS...
July 19, 2004 at 6:15 am
You are right about the LDAP query. Somehow my cut and paste did not work.
July 18, 2004 at 9:20 pm
An UPDATE statement cannot insert new rows into Sql Server.
You will need two statements: An UPDATE statement - you already have, and an INSERT statement.
The INSERT will use WHERE NOT...
July 16, 2004 at 12:55 am
I was looking for a way to do this when you dont have the source code for the application (i.e configuring a 3rd party application or a reporting tool).
Maybe I should...
July 12, 2004 at 11:01 pm
Viewing 15 posts - 61 through 75 (of 82 total)