Forum Replies Created

Viewing 15 posts - 1,651 through 1,665 (of 2,894 total)

  • RE: Inserting Records Into Table For Months Between Acquisition And Today

    Yes, you can:

    declare @Portolio table (Id int, AcquisitionDate date)

    insert @Portolio select 1, '1 Jan 2011'

    insert @Portolio select 2, '1 May 2011'

    insert @Portolio select 3, '15 Apr 2011'

    select p.Id, p.AcquisitionDate,...

  • RE: Query Syntax

    When I looked first it did looked strange, but in few seconds...

    see:

    SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED

    SET DATEFORMAT DMY

    DECLARE @TABLE1 AS TABLE

    (VALUE INT)

    INSERT INTO @TABLE1

    SELECT 1 UNION ALL

    SELECT 2 UNION...

  • RE: Update sql database table by Datatable which I have made

    hmsanghavi (5/3/2012)


    I have made a datatable.

    Now i want to update that datatable records in existing sql database table.

    By this I am doing bulk update.

    please let me know how can I...

  • RE: Split Row into Multiple Rows

    kate-395233 (5/3/2012)


    Thank you very much!

    This is how I modified it (I don't have access to the master db) - and added more rows

    DECLARE @count INT

    SET @count = 1

    DECLARE...

  • RE: Split Row into Multiple Rows

    You can use "on-fly" table which can provide you with continues numbers. Any would do, I've used sys.columns... :

    SELECT ORDER_NUMBER, PRODUCT_ID, 1 QTY, VALUE/QTY VALUE

    FROM @SPLITROW sr

    JOIN (SELECT ROW_NUMBER()...

  • RE: Quering with "google-style" operators

    What have you drawn to them? I can only guess...

    But I know for sure what I would draw... :hehe:

  • RE: t-sql query

    Jeff Moden (5/1/2012)


    capn.hector (5/1/2012)


    Eugene Elutin (5/1/2012)


    Jeff Moden (5/1/2012)


    Phil Parkin (5/1/2012)


    Eugene Elutin (5/1/2012)


    ...

    Using != instead of <> is not recommended, as != is non-ISO standard (though it still works).

    ...

    I prefer to...

  • RE: t-sql query

    capn.hector (5/1/2012)


    Eugene Elutin (5/1/2012)


    Jeff Moden (5/1/2012)


    Phil Parkin (5/1/2012)


    Eugene Elutin (5/1/2012)


    ...

    Using != instead of <> is not recommended, as != is non-ISO standard (though it still works).

    ...

    I prefer to use "!="...

  • RE: t-sql query

    Jeff Moden (5/1/2012)


    Phil Parkin (5/1/2012)


    Eugene Elutin (5/1/2012)


    ...

    Using != instead of <> is not recommended, as != is non-ISO standard (though it still works).

    ...

    I prefer to use "!=" over "<>". Is...

  • RE: How Many number of columns we can specify in tabluar report

    How many do you need?

  • RE: t-sql query

    Eugene Elutin (5/1/2012)


    ...

    Using != instead of <> is not recommended, as != is non-ISO standard (though it still works).

    ...

    I prefer to use "!=" over "<>". Is any reference material where...

  • RE: Issue with duplicate data

    Phil Parkin (5/1/2012)


    You can deduct whatever you want from whatever you like.

    This could come in very useful. I'd like to deduct all the French people from the city I...

  • RE: t-sql query

    ...

    Using != instead of <> is not recommended, as != is non-ISO standard (though it still works).

    ...

    I prefer to use "!=" over "<>". Is any reference material where it is...

  • RE: Issue with duplicate data

    no probs at all, if I'll have a time I'll help.

Viewing 15 posts - 1,651 through 1,665 (of 2,894 total)