Click here to Skip to main content
15,887,596 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I want to create datatable in below format

SNO column rank
1 c01 c02 c03 10
c11 c12 c13
c223 c22 c23



So please help me my dear friends

Tanks in advance
Posted
Updated 21-Apr-14 20:16pm
v3
Comments
[no name] 21-Apr-14 20:53pm    
Help you with what? If you want to create a datatable like that, then go right ahead and do it.

1 solution

Try this

INSERT INTO Data ( SNO )
select 'C01'
union
select 'C02'

OR

INSERT INTO Table ( SNO ) VALUES ( C01, C02)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900