SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 New Record in SQL through Access
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

saltzmanjoelh
Starting Member

10 Posts

Posted - 09/26/2007 :  17:54:24  Show Profile  Reply with Quote
I have an Access db that has a linked table to a sql table. The sql table has a UniqueIdentifier field in it. How do I create a new record through access in that table and have the UNIQUEIDENTIFIER autogenerated?

SwePeso
Patron Saint of Lost Yaks

Sweden
30281 Posts

Posted - 09/26/2007 :  17:56:04  Show Profile  Visit SwePeso's Homepage  Reply with Quote
Have the column default to NEWID().



E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page

saltzmanjoelh
Starting Member

10 Posts

Posted - 09/26/2007 :  18:12:13  Show Profile  Reply with Quote
PERFECT! THANKS!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000