Forum Replies Created

Viewing 15 posts - 47,551 through 47,565 (of 59,064 total)

  • RE: How do I create a conditional counter?

    Um... this is actually a cross post with a different name. The bad part about cross posting is that it split resources, the unsuing discussions, and the answers. ...

  • RE: Stored Procedure to query many tables

    Don'cha just love the feedback on some of these posts? 😛

  • RE: What does 2 periods after DB name mean?

    rbarryyoung (10/14/2008)


    That just means that the default schema (dbo) should be used. In other words:Customers..FirstName is the same thing as Customers.dbo.FirstName

    Not the same for performance, though... 😉

  • RE: how to save a blob to harddisk?

    Heh... Ice Cream Scoop... :hehe:

  • RE: Performance Tuning ...

    A query is said to be a good query... until someone finds a way for it to run faster. 😀

    In truth, if the query contains RBAR of any sort, it's...

  • RE: help with leap year

    Heh... you can do it a bit easier than that... not sure it's even worth putting in a function...

    [font="Courier New"]DECLARE @Year INT

    SET @Year = 2007

    SELECT ISDATE(STR(@Year)+'0229')[/font]

  • RE: small query help me out

    Chris (10/22/2008)


    THKZ SIMMONS IT WORKED ...

    Really? Try these and see what happens... 😉

    SELECT ISNUMERIC('3D2'), ISNUMERIC('3E2'), ISNUMERIC('1,000'), ISNUMERIC(CHAR(13)), ISNUMERIC(CHAR(9))

    One way to beat this is...

    SELECT ISNUMERIC('3D2'+'.d0'), ISNUMERIC('3E2'+'.d0'), ISNUMERIC('1,000'+'.d0'), ISNUMERIC(CHAR(13)+'.d0'), ISNUMERIC(CHAR(9)+'.d0')

  • RE: help with datediff and datepart in sql express

    webconcepts (10/25/2008)


    Thanks, by the way count again LOL first 5 inserts are for the month of 09.......:D

    My fault... didn't copy the first line.

  • RE: Extracting pieces of a string...

    yisaaacs (10/24/2008)


    I have a log table, that contains a Detail column which looks like this...

    auth=2 ms,xslt=110 ms,wallet=531 ms,resp=136 ms,total=0.823 sec,meta-data=3 ms

    i need to extract each integer with the corresponding name,...

  • RE: T-SQL Development Standards

    Heh... I don't know why people even bother with any standards at all. As soon as something needs to "go in in a hurry", all notions of standards and...

  • RE: Updating Values Without Cursor

    Parul Sharma (10/24/2008)


    a big thank you to each one of you guys. All the solution provided are working for me. Only thing I have to check is to find the...

  • RE: Updating Values Without Cursor

    AnzioBake (10/24/2008)


    either one of the following does what you are asking. The Second query is marginally faster...

    Both methods use a "triangular join" which, because of the way it's used,...

  • RE: excluding nulls from a table

    I think it would be best that if the function receives a NULL, it should return a NULL. NULL has the special meaning of "unknown" and changing it to...

  • RE: help with datediff and datepart in sql express

    Try this...

    SELECT COUNT(*)

    FROM dbo.RentalHistory

    WHERE FromDate >= DATEADD(mm,DATEDIFF(mm,0,'20080901'),0)

    AND ToDate < DATEADD(mm,DATEDIFF(mm,0,'20080901')+1,0)

    ... and there's only 4 items in...

  • RE: SQL Server 2000

    Greg Snidow (10/25/2008)


    Ahh, what relief. I get it, the trigger would fire when it updates the field in question, which would cause it to fire again. Never thought...

Viewing 15 posts - 47,551 through 47,565 (of 59,064 total)