Click here to Skip to main content
15,915,319 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

I execute this query in sqlserver
SQL
SELECT * FROM INFORMATION_SCHEMA.views

which returns me

view_definition
"CREATE view v1  as  (select TABLE_name, COLUMN_NAME from INFORMATION_SCHEMA.COLUMNS)"


is there any query like this which returns me Table_definition
SQL
create table tablename
(
id numeric,
fname nvarchar(50)
 
)
Posted
Updated 20-Jul-11 19:28pm
v4

1 solution

 
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