Forum Replies Created

Viewing 15 posts - 871 through 885 (of 2,038 total)

  • RE: Query Elapsed Time

    RBarryYoung (5/19/2009)


    Florian: This looks similar to the performance measurement code that I posted in my last article (here[/url]). Unfortunately I just, found out last week that the elapsed...

  • RE: Query Elapsed Time

    Goldie Graber (5/19/2009)


    I'd love to see your procedures, even though I don't know that they'll be useful in this case.

    Sure, the elapsed time is the first thing the user notices....

  • RE: Long execution times when including simple SQL functions into a join

    Hi Pieter

    Some questions:

    1.) Do you call these functions in your WHERE clause?

    2.) If yes, are the initial replacements "()-. " needed? They may be a very huge problem for another...

  • RE: Query Elapsed Time

    For usual tests I prefer the SQL Profiler for more special tests I use some procedures I wrote. I can post them if you want.

    Sure, the elapsed time is the...

  • RE: syntax for passing mutliple variable using dtexec command

    Hi

    Try this:

    dtexec /F "C:\DTSPackage\MySolution.dtsx" /SET "\Package.Variables[employeeID].Value";9 /SET "\Package.Variables[OtherVar].Value";9

    Greets

    Flo

  • RE: Query Elapsed Time

    Goldie Graber (5/19/2009)


    Florian Reischl (5/19/2009)


    Hi Goldie

    Do you have a Dual/Quad Core environment?

    Greets

    Flo

    Yup, sure do.

    Do you mean to say that the CPU time is total of ALL processors?

    If so, I guess...

  • RE: Script Needed

    Oups, sorry. Too many SSE2k in my environment yet...

    I corrected the previous script and added schema-support and security for names 😉

    Greets

    Flo

  • RE: Script Needed

    Well... This is definitely a new chapter of "Coding for Fun" 😀

    Compare and take your choice..

    [font="Courier New"]SET NOCOUNT ON

    DECLARE @now DATETIME

    DECLARE @i INT

    DECLARE @count INT

    DECLARE @name NVARCHAR(128)

    DECLARE @schema NVARCHAR(128)

    DECLARE @sql...

  • RE: confused by user defined functions

    GSquared (5/19/2009)


    Greg Snidow (5/19/2009)


    GSquared (5/19/2009)


    Get rid of the semicolons, the function will still run, it's just less "clean".

    I often see code with semicolons here, but usually without. I have...

  • RE: Intrusion Detection Systems

    Hi Stephen

    I think the people who can answer this question are you...

    First question:

    Do you think the customer may be lost if you don't introduce this security software?

    Second question:

    Is your customer...

  • RE: simple query

    ???

  • RE: Script Needed

    What's the problem with the cursor? In my book cursors are okay for these maintenance tasks.

    Anyway, you can use a string concatenation or FOR XML PATH() in combination with sys.tables.

    Greets

    Flo

  • RE: Query Elapsed Time

    Hi Goldie

    Do you have a Dual/Quad Core environment?

    Greets

    Flo

  • RE: Query Elapsed Time

    Hi Goldie

    Try sys.dm_exec_requests view:

    SET NOCOUNT ON

    SELECT cpu_time, total_elapsed_time, reads, writes, logical_reads

    FROM sys.dm_exec_requests

    WHERE session_id = @@SPID

    DECLARE @i INT

    SELECT @i = object_id FROM sys.all_columns

    SELECT...

  • RE: expiring downloadable files

    Hi Lowell

    Some questions...

    Lowell (5/19/2009)


    OK, lets assume I have a zip file that someone might actually paypal me a dollar to buy access it.

    Is the ZIP file different for each consumer...

Viewing 15 posts - 871 through 885 (of 2,038 total)