Forum Replies Created

Viewing 15 posts - 17,566 through 17,580 (of 18,923 total)

  • RE: Table rowcount

    Too much distraction here... can't post fast enough now .

  • RE: Table rowcount

    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,...

  • RE: Nightmare Contest

    Hey Steve, is it possible to have the nightmare stories back up on the site someday? I'd like to reread some of those..

  • RE: Wot! No RecordCount??

    I'm sure you'll have a few questions after this one... Don't be afraid to ask.

  • RE: Wot! No RecordCount??

    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

    ...

  • RE: t-sql solutions needed

    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...

  • RE: Backup schedules

    Never be sorry for not knowing something... be even less sorry for finding the solution .

  • RE: Wot! No RecordCount??

    sql = "EXEC sp_NoOfRecords" &_

    " @VTitle='" & VTitle & "'"

    rs.CursorLocation=adUseClient

    Set rs = Conn.Execute(sql)

  • RE: Output parameter returning NULL. Randomly.

    How did it get fixed?

    And how the hell did you do that?????????????

  • RE: Tuning temp tables

    Can you tell us in what situation?

  • RE: Wot! No RecordCount??

    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...

  • RE: Output parameter returning NULL. Randomly.

    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...

  • RE: dynamic sql vs. clustered index scan

    Yup... wouldn't wanna be in the shoes of that guy when that happens.

  • RE: Wot! No RecordCount??

    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 *...

  • RE: Optimized SQL for Name Search

    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...

Viewing 15 posts - 17,566 through 17,580 (of 18,923 total)