Forum Replies Created

Viewing 15 posts - 1,816 through 1,830 (of 2,486 total)

  • RE: sp_who

    There is a style called Formatted that puts in <PRE></PRE> tags, but it seems to do on a line by line basis. In the old forums you used to be...

  • RE: sp_who

    Chris

    The forum formatting for code isn't what it used to be, but they'll get there. That's one of the things that makes this a great site.

    It also seems to have...

  • RE: Writing to a log within a stored procedure.

    Even better, write the message to a table in the database. That way you can produce reports on what was done, when and how often.

     

  • RE: 8-way Xeon PIII 700mhz vs. Dual Xeon P4 3.0ghz

    I've had experience with a quad P3 500mhz out doing a dual P4 2.8ghz. This was mainly due to application and database design though. Some of the queries where horribly over...

  • RE: sp_who

    Forget temp tables and the like. Here's what I run every 5 minutes on the server.

    INSERT INTO dbo.tblActivityLog ( 
    SPID, LastUpdate, Status, Login, HostName
    , BlkBy, DBName, Command, CPUTime, DiskIO
    , LastBatch,...
  • RE: File List ??

    Ah Ha ... where did you find out about the parameters for xp_dirtree?

     

  • RE: How To Check if Job is Running?

    The execution status comes from sp_get_composite_job_info which in turn comes from xp_sqlagent_enum_jobs.

     

  • RE: Stored Procedure Job Status

    Try any of the ASP/Dev webistes.

    http://www.asp.net
    http://www.15seconds.com/
    http://www.4guysfromrolla.com/
    etc...
  • RE: Stored Procedure Job Status

    I would remove QA from the users and give them an ASP page. From this page they could launch and monitor the process.

    Less chance of things going haywire because the...

  • RE: Copy SQL Object Questions

    The copy SQL Objects task will BCP the data out to a text file, truncate the source table and then BCP the data back in. This happens for each selected table in...

  • RE: How To Check if Job is Running?

    You could still use something similar to Noeld suggestion, just use OPENQUERY instead of OPENROWSET. Then you can use a linked server. A server can have a linked server that refers...

  • RE: when not to use *= for joins

    It's nothing to do with the join syntax. In an outer join query, you can't specify criteria in the where clause for the table on the opposite side of the...

  • RE: Dynamic SQL Stored Procedure taking date as variable

    Firstly I don't know why you convert your date parameter to datetime then back

    to nvarchar. Why not just use the passed value as it is?

    In the statement where you convert...

  • RE: Memory and Database Server Specs - What are you using?

    More CPU power so the process completes quicker, more memory so SQL Server can cache more data, faster Disk I/O subsystem to process reads/writes faster.

    Naturally any of these will require...

  • RE: loading dts package through command line

    Well the sample I provided didn't check the return value from the sp_OA* procedures. The variable @hr will be zero if there were no errors. If you find an error,...

Viewing 15 posts - 1,816 through 1,830 (of 2,486 total)