Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Create table

$
0
0

Hi,

I want to create with different columns using varchar datatype.

For Example

S.No           Name

1               cvcvcv

2                 xxxxxx

3                 vvvvv

I want to S.No Column set initial value is one and next value increment by one Automatically. But I want S.No column datatype should be as Varchar. I don't want to set  identity column on a table.




Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>