How to export functions ?

Jul 22, 2010 at 9:33 AM
Hi, I know how to export views and procedures but how export functions ? Best regards
Developer
Jul 22, 2010 at 12:02 PM

Works for me using a command line similar to the following:

ScriptDb.exe -con:"Data Source=TCP:SQLTEST3;Initial Catalog=Client;User Id=test;Password=testpwd" -outDir:C:\dev\SqlSchema\TEST3 -v -ScriptAsCreate -CreateOnly -NoCollation -Purge

 

Jul 22, 2010 at 1:10 PM
Oh... ok. I was using -view and -sp to export my scripts. I just saw with your example that it export everything without these args. Thank you.