SQL Server scripting

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi

I wanted to know, is it possible to write .net code to generate
database script?

For example, I will give table name, .net code should generate
script from the database.

thanks
kalyan
 
Sure. All you need to go is get the metadata what is in the sysX tables and
then generate your scripts accordingly.
 
Sysobjects and syscolumns are key tables. But I guess there's not automated
tool available in .net.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top