Viewing 15 posts - 17,566 through 17,580 (of 18,923 total)
Too much distraction here... can't post fast enough now
.
May 27, 2005 at 9:45 am
Unles you preffer doing a count(*) for each table which can be slow, I would suggest you keep using the index technic.
If you don't want have out of date info,...
May 27, 2005 at 9:45 am
Hey Steve, is it possible to have the nightmare stories back up on the site someday? I'd like to reread some of those..
May 27, 2005 at 9:24 am
I'm sure you'll have a few questions after this one... Don't be afraid to ask.
May 27, 2005 at 9:14 am
Here's how I open a record set that uses a stored proc
proc code :
CREATE PROCEDURE [dbo].[SPNDemo] @ObjectName as varchar(50), @id as int output
AS
SET NOCOUNT ON
SET @id = object_id(@ObjectName)
SELECT
...
May 27, 2005 at 9:13 am
I like using the sys* tables... they are in every database and it avoids the time loss of making/deleting the temp tables... and I figured that my exemple was clear...
May 27, 2005 at 8:49 am
Never be sorry for not knowing something... be even less sorry for finding the solution
.
May 27, 2005 at 8:47 am
sql = "EXEC sp_NoOfRecords" &_
" @VTitle='" & VTitle & "'"
rs.CursorLocation=adUseClient
Set rs = Conn.Execute(sql)
May 27, 2005 at 8:42 am
How did it get fixed?
And how the hell did you do that?????????????
May 27, 2005 at 8:37 am
Nice trick... but I thaught that the RecordCount problem was due to the cursor and lock type, not the location. Do you have any readings on this.
BTW it's the...
May 27, 2005 at 8:15 am
That's true... experience does come at a cost.
I'd like to come in a interview and answer that question : How much experience do you have with Sql Server
A : (while...
May 27, 2005 at 8:11 am
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
Viewing 15 posts - 17,566 through 17,580 (of 18,923 total)