dbTalk Databases Forums  

Import database objects

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Import database objects in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Simona
 
Posts: n/a

Default Import database objects - 12-12-2003 , 03:26 PM






How can I import certain database objects(tables, stored procedure, etc.) based on the date they have been created?

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Import database objects - 12-12-2003 , 06:33 PM






OOh good Q.

What I would do is use SQLDMO. Both Table and StoredProcedure have a
CreateDate property. I would then script these out to a file as an ALTER or
CREATE statement and reapply them on the other server.



--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Simona" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
How can I import certain database objects(tables, stored procedure, etc.)
based on the date they have been created?




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.