Forum Replies Created

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

  • RE: How to pass Table as an argument in Function or Stored Procedure

    Sounds like dynamic sql task here... What problem are you trying to solve?

  • RE: Wot! No RecordCount??

    I've been told to stay away from that include file so I'll forward that to you.

    here's the bit that's missing :

    response.write "No Of Records = " & rs1.fields("Fieldname").value...

  • RE: help with a query

    Sorry didn't see this last question untill now...

    just add

    CASE WHEN datepart(m, tblInvoiceMaster.invoice_date) = 5 AND year_col = 2004 THEN...

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

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