Viewing 15 posts - 271 through 285 (of 310 total)
I thnk that you just need to extend your derived table and join it :
SELECT s.Record_Count,
t.Trip_ID,
s.Compart_No,
...
September 3, 2004 at 6:11 am
Remember that the ADO connection object has a timeout property that is completely separate from the SQL Server timeout property. Both need to be set appropriately.
September 1, 2004 at 6:41 am
The following brings up the standard Windows connection dialog and returns a Connection object (You need Microsoft OLEDB Service Component and Microsoft ActiveX data Objects in your project references) :
...
August 31, 2004 at 6:17 am
You could set up a trigger to output details to a table of whose process is running although not the specific stored procedure or application. The following from BOL...
August 31, 2004 at 5:33 am
Good thinking. You're quite right. Many thanks.
August 20, 2004 at 9:18 am
Good point about time - careless of me. If this is a concern, you need :
WHERE StartDate < DATEADD(d, DATEDIFF(d, 0, DATEADD(d, 1 - DAY(GETDATE()), GETDATE())), 0)
This calculates the...
August 20, 2004 at 7:43 am
Neater, and probably faster, would be :
WHERE StartDate <= DATEADD(d, -DAY(GETDATE()), GETDATE())
August 20, 2004 at 5:59 am
Not appropriate in this sceanrio, but thanks for the suggestion - it certainly could be an option in other cases.
August 11, 2004 at 1:35 am
That looks interesting - I'll give it a try. Thanks for the help.
August 9, 2004 at 7:04 am
Thanks. Unfortunately, I forgot to mention that the SPs are big. I think executesql is limited to 8K which will not be enough.
Thanks, anyway.
August 9, 2004 at 6:05 am
Good question! Not my design.
August 2, 2004 at 3:04 am
Good ideas. Unfortunately, it is using SQL security and the application's security creates user ids 'on the fly' and throws them away when the user logs out. I...
July 30, 2004 at 7:42 am
My approach is to use 100% only if its static data or I konw that I am only ever adding records to the end (eg clustered on an identity field)....
July 13, 2004 at 4:53 am
Perhaps the only solution to meet the spec will be to use SQL Server as an indexing engine but hold all the sensitive data in a separate .dat file that...
July 7, 2004 at 9:27 am
It would seem to me that the only way to guarantee that data genuinely is deleted immediately is to overwrite it with garbage. The problem comes down...
July 7, 2004 at 1:52 am
Viewing 15 posts - 271 through 285 (of 310 total)