Forum Replies Created

Viewing 15 posts - 16 through 30 (of 52 total)

  • RE: Query on time part

    Hi there,

    This is a way of filtering based on time

    create table #tmp(nos int,TranDate datetime)

    insert into #tmp

    select 1,'2009-07-02 05:41:00.000' union all

    select 2,'2009-07-02 20:12:00.000' union all

    select 3,'2009-07-02 14:47:00.000' union...

  • RE: assign a variable

    Hi Mick,

    As far as I can understand you need to assign the variable

    for that you might try this

    DECLARE @size_mdf int

    DECLARE @sql_size_mdf nvarchar(100)

    SET @sql_size_mdf = 'select @size_mdf=SUM(size)*8/1024...

  • RE: assign a variable

    Hi Mick,

    As far as I can understand you need to assign the variable

    for that you might try this

    DECLARE @size_mdf int

    DECLARE @sql_size_mdf nvarchar(100)

    SET @sql_size_mdf = 'select @size_mdf=SUM(size)*8/1024...

  • RE: assign a variable

    Hi Mick,

    As far as I can understand you need to assign the variable

    for that you might try this

    DECLARE @size_mdf int

    DECLARE @sql_size_mdf nvarchar(100)

    SET @sql_size_mdf = 'select @size_mdf=SUM(size)*8/1024...

  • RE: assign a variable

    Hi Mick,

    As far as I can understand you need to assign the variable

    for that you might try this

    DECLARE @size_mdf int

    DECLARE @sql_size_mdf nvarchar(100)

    SET @sql_size_mdf = 'select @size_mdf=SUM(size)*8/1024...

  • RE: assign a variable

    Hi Mick,

    As far as I can understand you need to assign the variable

    for that you might try this

    DECLARE @size_mdf int

    DECLARE @sql_size_mdf nvarchar(100)

    SET @sql_size_mdf = 'select @size_mdf=SUM(size)*8/1024...

  • RE: assign a variable

    Hi Mick,

    As far as I can understand you need to assign the variable

    for that you might try this

    DECLARE @size_mdf int

    DECLARE @sql_size_mdf nvarchar(100)

    SET @sql_size_mdf = 'select @size_mdf=SUM(size)*8/1024...

  • RE: Retrieve comma-separated list within group by

    Sorry Lynn,

    It is #tmpGRN not tblGRINMaster. It somehow worked on my machine cause I had both of them. And as you can see I had put some...

  • RE: Retrieve comma-separated list within group by

    Hi Jeff,

    Thanks Jeff for replying. I am quite surprised to see such a keen interest. Although I am sorry for only posting part of the problem.

    Talking about...

  • RE: Retrieve comma-separated list within group by

    Hi Jeff,

    Issue (Issue to dept/employee) of one single item may require to knock of balance qty of many grn's (purchase).

    Like Issue Pen(50) - GRN1 10,GRN2 20 ,GRN3 20.

    ...

  • RE: problem when deleting data in a table

    hey smsam1,

    TEAM table contains a foreign key to its parent table COACH.

    How about adding an 'ON DELETE SET NULL' constraint on foreign key column in team table?

  • RE: problem when deleting data in a table

    hey smsam1,

    TEAM table contains a foreign key to its parent table COACH.

    How about adding an 'ON DELETE SET NULL' constraint on foreign key column in team table?

  • RE: problem when deleting data in a table

    hey smsam1,

    TEAM table contains a foreign key to its parent table COACH.

    How about adding an 'ON DELETE SET NULL' constraint on foreign key column in team table...

Viewing 15 posts - 16 through 30 (of 52 total)