Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 Call NEWID() in transform?

Author  Topic 

coolerbob
Aged Yak Warrior

841 Posts

Posted - 2005-03-07 : 11:49:32
Will I be able to call NEWID() from VBScript? I have the feeling I can't. Where can I call it from in order to populate the primary key column on my target db?

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2005-03-07 : 15:47:49
You can call it from T-SQL. Do you even need VBScript? Why not put your data into a staging table, then use T-SQL to get the data how you want it to look.

Tara
Go to Top of Page
   

- Advertisement -