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

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

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

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

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?

Patron Saint of Lost Yaks

30421 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

Starting Member

10 Posts

Posted - 09/26/2007 :  18:12:13  Show Profile  Reply with Quote
Go to Top of Page
  Previous Topic Topic Next 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.03 seconds. Powered By: Snitz Forums 2000