• ronan.healy (10/5/2012)


    sorry put in the older version of table

    CNO CHAR (100) NOT NULL,

    OPICSCNO CHAR (100) NULL,

    MOODYSRATE CHAR (10) NOT NULL,

    SNPRATE CHAR (10) NOT NULL,

    FITCHRATE CHAR (10) NOT NULL,

    MOODYSIRB numeric (4) NULL,

    SPIRB numeric (4) NULL,

    FITCHIRB numeric (4) NULL,

    MOODYSWATCH bit DEFAULT 0 NOT NULL,

    SPWATCH bit DEFAULT 0 NOT NULL,

    FITCHWATCH bit DEFAULT 0 NOT NULL,

    MIDRATEAGENCY CHAR (10) NULL,

    MIDRATING CHAR (10) NULL,

    MIDIRB numeric NULL,

    NEGWATCH bit DEFAULT 0 NOT NULL,

    This is incomplete. Is this the table ACRT now? Is NEGWATCH the last column?

    _______________________________________________________________

    Need help? Help us help you.

    Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.

    Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.

    Cross Tabs and Pivots, Part 1 – Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
    Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
    Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
    Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/