Forum Replies Created

Viewing 15 posts - 2,806 through 2,820 (of 5,103 total)

  • RE: Join help

    Ok but you just for got the time he needs to learn that there is a view wizzard -- (unknown until you hit the forum but I am going to...

  • RE: Join help

    He already have the anwser

  • RE: Join help

    SSC TSQL forums are faster

     

  • RE: Join help

    select S.Data SourceData, d.data DestinationData

    from

        B join A as S on S.ID = B.SourceID

        join A as D  on D.SID = B.DestID

     

  • RE: Average Sold Per Month Query

    I could improve my typing skills ... which could give me an edge ?

     

  • RE: changing data type

    If you have sufficient disk space, copying the data to build a new table may run much faster than updating the existing table.

    That is a very BIG may

    1....

  • RE: hardcoded into cursor, help plz

    Most of the time I do

     

  • RE: text More than 8000 chracters?

    Like I said there is always more than one way to skin a cat

     

  • RE: Average Sold Per Month Query

    Damn are we having a bad day or what??????

    It's hard to beat your typing...  no time to loose

  • RE: Average Sold Per Month Query

    SELECT Product, 1.0*SUM(SaleQty)/datediff(m,Min(SaleDate)-Max(SaleDate))AvgSalesPerMonth

    FROM

     orderdetail

    GROUP BY  Product

    Will be simpler

     

  • RE: Datetime Query

    Just wondering how to use Time DataType

    it is just a matter of exploiting less convertions

    select directly to a client, add time to a value with a simple "+" sign,.....

  • RE: Datetime Query

    Suppose you need to save times only. it is very handy and you can count how many posts do you get here on how to get rid of the time...

  • RE: text More than 8000 chracters?

    Never said that they cannot be updated but When you get used to SET BASED manipulations and you come across all thoses digusting method that prevent trigger firing concatenation is...

  • RE: Datetime Query

    (sorry getting sick of seeing this field split).

    You may be relieved to know then that 2005 have DATE and TIME types

     

  • RE: Temporary Table Column Name

    here is another way... ugly but you shouldn't need this anyways

    USE tempdb

    SELECT COL_NAME(OBJECT_ID('#temptable'), 1)

    USE LocalDBName

Viewing 15 posts - 2,806 through 2,820 (of 5,103 total)