• You could use dynamic SQL together with sys.columns. You could check system_type_id to modify just the related data types.

    However, I don't know why you want to "remove decimal points". Do you have the appropriate data type per column?



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]