Forum Replies Created

Viewing 15 posts - 5,971 through 5,985 (of 7,185 total)

  • RE: on trigger and stroed procedures

    Raghu

    Not sure what you're asking. A trigger is a spcecial kind of stored procedure that runs when a table is updated, inserted into or deleted from. Could you...

  • RE: Urgent Questionshow can i fill #table from sp

    We know that, but we don't know what help you need. Was the query you posted successful? If not, in what way was it not? Did it...

  • RE: two servers same query huge diffrence

    Do the two databases have the same amount of data on them? Do you rebuild your indexes and update your statistics regularly? Have you compared the execution plans...

  • RE: Table modified

    Rajesh

    Can you not just use dbcc checkident (Discount, reseed, 1)?

    John

  • RE: Third Party Access to Internal SQL Servers

    I would say give them read-only access, and if they want anything changed, ask them to supply you with a script. I think if you go for anything less...

  • RE: Table modified

    Rajesh

    Please will you post your CREATE TABLE statement and the code you are using to reseed the identity value.

    John

  • RE: Finding NULL count

    Karthik

    Use sp_executesql with an output parameter.

    John

  • RE: Finding NULL count

    And the error message you get is...?

  • RE: Complete Newbee Advice Required

    ... and it's helpful to have SQL Server 2000 Books Online, although I think you can download and install that separately. Speaking of which, make sure you regularly download...

  • RE: Complete Newbee Advice Required

    Yes, install the SQL Server 2000 and SQL Server 2005 client tools on your desktop and you'll save time connecting to your servers - assuming there are no firewalls stopping...

  • RE: Find out if a database is being used and how much

    James

    If you suspect the databases aren't being used at all, then run a Profiler trace against them for a week or a month or however long you need to. ...

  • RE: Finding NULL count

    Karthik

    I would advise you to write a script that uses INFORMATION_SCHEMA.COLUMNS to generate the query that will count the NULLS in each column in each database. It won't be...

  • RE: SQL Server Agent

    One way of doing it is to pipe the output of net start to a text file and then examine the contents of that file. I'm not saying that...

  • RE: CTE's are useless

    You can avoid the "speed at all cost" methodology if you want... but I'd suggest that you haven't and you won't. Considering all that you've written about speed testing...

  • RE: Return then Top X Rows in RS

    You have two options. You can build your SQL string with @top as a parameter and execute it using sp_executesql, or you can use SET ROWCOUNT, which does allow...

Viewing 15 posts - 5,971 through 5,985 (of 7,185 total)