dts export

  • I have a table with first_name , last_name,state and zip columnswhen exporting my table data into text file i would like to change the first letter of the first_name should be capital(Davis,John) and the state column value should be capitol(NJ,PA,,).How to do that.

  • You could have a view based on the data, using the following expressions:

    For proper case on first name and last:

    UPPER(SUBSTRING(first_name, 1, 1)) + SUBSTRING(first_name, 2, 255) AS first_name

    For upper case on state, use:

    UPPER(state) AS state

    Then DTS out the View...That should do it.

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

You must be logged in to reply to this topic. Login to reply