Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)

  • RE: Append record

    OK I did there is a name in there name(sysname(nvarchar(128)),null)

    I need to insert zero to every column except the first one which contains primary key.

    thanks

  • RE: Append record

    Ok I don't understand the first line of code select '[' + name + '] = 0,'

    name I think is a column name?

  • RE: Append record

    This is what I have , still no Zeros in the columns

    select '[' + name + '] = 0'

    from sys.columns

    WHERE object_id = OBJECT_ID(N'[dbo].[ArCustomerBal]')

    and name != ' @sx_customer_code'

  • RE: append record from the same table , change customer field based on parameter

    table design arcustomer

    [Customer] [char](7) NOT NULL,

    [Name] [char](30) NULL,

    [ExemptFinChg] [char](1) NULL,

    [Salesperson] [char](3) NULL,

    [CustomerClass] [char](2) NULL,

    [Salesperson,] [char](2) NULL,

    [TermsCode] [char](2) NULL,

    [Area] [char](2) NULL,

    [Branch] [char](2) NULL

    two...

Viewing 4 posts - 1 through 4 (of 4 total)