Viewing 15 posts - 17,581 through 17,595 (of 18,926 total)
Yup... wouldn't wanna be in the shoes of that guy when that happens.
May 27, 2005 at 8:07 am
rs.recordCount is the number of records produced by the query/stored proc that you supplied to the recordset.
Just run something like this in vb :
declare connection
declare recorset
open connection
MyRs.Open "Select *...
May 27, 2005 at 8:06 am
Please make sure you understand the implications of dynamic sql before going down that path.
Make sure you read this about The Curse and Blessings of Dynamic SQL
Which will...
May 27, 2005 at 7:56 am
I try not to cry on fridays.. it's almost the happiest day of the week. So I try to keep it that way.
May 27, 2005 at 7:50 am
Not to mention that you always have to know the keytype when you write the queries... try changing the key type once the project is one year old. Can...
May 27, 2005 at 7:49 am
It's always silly once we find it... the job really is FINDING IT.
One last thing that might have saved you some time : There's a stored proc debugger that can...
May 27, 2005 at 7:46 am
No beer for me... Trying to become a Pro in Billiards (9 ball). But I got a verrrry long way to go... Maybe you guys will see me on...
May 27, 2005 at 7:44 am
Nice variant and one less step to it. But I wouldn't expect a big performance boost since the (SELECT MAX(identityCol) FROM TableA) in the first example will be...
May 27, 2005 at 7:37 am
I would get those books... but I got a life outside of work and I'd like to keep it that way... There's so much more to learn outside of IT.
May 27, 2005 at 7:35 am
That's the problem in our society. We all want more for less work... We can't have it both ways. But I see how that is a big problems...
May 27, 2005 at 7:34 am
Yes truncate is faster... but the problem here is that he doesn't want to delete data that has been inserted after he transfered the data to history.
May 27, 2005 at 7:31 am
BTW, no offence to Michael, I know he's a great helper on this message board.
May 27, 2005 at 7:29 am
That's what I thaught... I've seen cases where the same solution is reposted when the thread is huge... or posted at the same time. But posting the same...
May 27, 2005 at 7:29 am
Ya I wasn't too sure that it could be the case in this situation... But I thaught: what else can be causing the server to fail/succeed when using the same...
May 27, 2005 at 7:26 am
We'll be hijaking it together...
For the tsql you'll have to stay around because I pretty much learned everything here. I mean, I knew of to do basic stuff out...
May 27, 2005 at 7:21 am
Viewing 15 posts - 17,581 through 17,595 (of 18,926 total)