Forum Replies Created

Viewing 15 posts - 6,556 through 6,570 (of 7,636 total)

  • RE: in sys processes "lastwaittype " showing PAGEIOLATCH_SH

    Rerun Performance Monitor with the same counters that Gail listed, plus these addiitonal:

    Memory\Available MBytes

    Memory\Page Faults/sec

    Memory\Page Reads/sec

    Memory\Page Writes/sec

    The following should have "*all instances" set:

    PhysicallDisk(*)\% Idle Time

    PhysicallDisk(*)\Disk Reads/sec

    PhysicallDisk(*)\Disk Writes/sec

    PhysicallDisk(*)\Avg Disk Queue Length

    Processor(*)\%...

  • RE: Rules, Defaults and the SQL Standard

    Jeff Moden (6/20/2008)


    If I could find out how, I would in an instant. Anyone have a clue on how to get on that committee?

    Yeah, I researched it some time...

  • RE: Rules, Defaults and the SQL Standard

    Tony, Jeff, why don't you just join the committee? I don't think that its as hard as all that.

  • RE: VSS For Stored Procedures

    jezemine (6/20/2008)


    if you want to automate the generation of scripts from the cmd line, I wrote a tool to do it. it's open source on codeplex:

    http://www.codeplex.com/scriptdb

    jezemine: I did...

  • RE: VSS For Stored Procedures

    TheSQLGuru (6/20/2008)


    rbarryyoung (6/20/2008)


    TheSQLGuru (6/20/2008)


    Maybe take a look at ApexSQL's Script product, or search the web for some SMO code that will script out objects for you.

    Not necessary. As I...

  • RE: use a sequence of column values in a query

    JRJ (6/20/2008)


    Thanks guys for your response, it's really useful. I am just wondering which one will be faster when I deel with some 50,000 records: the one with temp table...

  • RE: VSS For Stored Procedures

    TheSQLGuru (6/20/2008)


    Maybe take a look at ApexSQL's Script product, or search the web for some SMO code that will script out objects for you.

    Not necessary. As I demonstrated above,...

  • RE: VSS For Stored Procedures

    As promised here is the stored procedure that will list a procedure that you name, including the "DROP.. IF.." prefix:

    ALTER Proc spScriptProc_DropIf( @proc as SYSNAME, @schemaName SYSNAME = N'dbo' )...

  • RE: Split text by empty spaces

    I think that we have the same thing, Gus.

  • RE: VSS For Stored Procedures

    Sherjon (6/20/2008)


    We have not found an easy way to format a 2005 script that is compatible with it's 2000 counterpart. It's quite cumbersome to Create a DROP script, then...

  • RE: use a sequence of column values in a query

    Matt Miller (6/20/2008)


    Jeff Moden (6/20/2008)


    rbarryyoung (6/20/2008)


    I just want to register my agreement with Jeff.

    Heh... ok, ok... I promise to never draw smiley faces on your helmet ever again 😛

    I wouldn't...

  • RE: use a sequence of column values in a query

    I just want to register my agreement with Jeff. If this is truly a one-time thing and really only 7 items, then sure, go with this. But if...

  • RE: Create Temporary Tables Dynamically in cursor loop

    Jeff: Good point about the UoM. Here is a corrected/improved version:

    SELECT Metal, UoM

    , min(Result) as [Min]

    , max(Result) as [Max]

    , count(Result) as [Samples]

    , avg(Result) as [Mean]

    , stdev(Result) as [Std....

  • RE: VSS For Stored Procedures

    Good point Kevin.

    I have attached two screen shots that show how to get the Save Options that the OP had in SQL2000.

    This is how you select the Script to New...

  • RE: VSS For Stored Procedures

    OK, I think that I know what the problem is here: When you script the procedure, do NOT script it directly to a file. That option does not...

Viewing 15 posts - 6,556 through 6,570 (of 7,636 total)