qr11
qr11

Reputation: 441

SQL Server : get query of created table in Management Studio

I have a table in a database created by constructor. Is it possible that I can somehow get the SQL query that was used to create this table?

enter image description here

Upvotes: 1

Views: 471

Answers (1)

PeterRing
PeterRing

Reputation: 1797

Sure, right click on the table in the MS. "Script table as" -> "Create to" ->New query editor window.

Upvotes: 4

Related Questions