I am developing an accounting software in SQL Server 2000.
I want to create blank tables, stored procedures, user defined functions in new database which i am using in the last year's database.
I am using VB6.0 as front end tool and SQL Server 2000 as database.
My question is :
How programitically transfer Stored Procedures and UDF from last year's database to new year's database ?
Information : I created new year's database using SQL DMO, I created tables using script and executing it from stored procedure.
But I am not being able to tranfer the last year;s stored proc and udf to new year's database using vb code or vbscript code.
Please guide me through.
my email id is :
aadityasankalp@yahoo.com