Re: Form error????
- From: Tom Wickerath <AOS168b AT comcast DOT net>
- Date: Tue, 25 Aug 2009 15:47:08 -0700
Correction:
I stated below that a TimeStamp was a GUID. That's not correct. In SQL
Server, a timestamp is guaranteed unique only within the database, whereas a
uniqueidentifier (data type) is meant to be unique in the world (i.e.,
globally unique, or GUID).
Kind of confusing now that (in SQL 2008) there is a new data type/alias
called ROWVERSION which replaces (or supplements) the existing timestamp
type. ROWVERSION makes it sound as though it is row (i.e., table) unique,
but it is still defined the same: unique to the database. The name change is
probably a good idea seeing how timestamp (data type) as defined by ANSI SQL
means "date and time", hence why many people think a SQL timestamp is a
date/time.
Thanks to a co-worker of mine who pointed this out to me.
Tom Wickerath
Microsoft Access MVP
http://www.accessmvp.com/TWickerath/
__________________________________________
"Tom Wickerath" wrote:
Hi Jul.
I think this is the KB article that describes the problem:
You may receive write conflict errors when you update records
of a linked SQL Server table (in Access 2000)
http://support.microsoft.com/kb/280730
Note: I added the parentheses around "in Access 2000", as this same issue
very likely applies to all versions of Access and SQL Server.
Adding a field to the SQL Server table of data type Timestamp is probably a
good thing to do. This is not a normal date/time value; it is a GUID
(Globally Unique Identifier) that SQL Server will generate without any action
needed on your part. However, if you are going to use a bit field in the
Access application, I would set a default value of zero. Many Access
developers refuse to use Yes/No fields for this very reason, among them
Access MVP Allen Browne.
Why I stopped using Yes/No fields
http://allenbrowne.com/NoYesNo.html
Access MVP Armen Stein has some good material available at his download
site, including the pros and cons of adding Timestamp fields:
http://www.jstreettech.com/cartgenie/pg_developerDownloads.asp
---> See "The Best of Both Worlds: Access-SQL Server Optimization".
Tom Wickerath
Microsoft Access MVP
http://www.accessmvp.com/TWickerath/
- References:
- Form error????
- From: jubiiab via AccessMonster.com
- Re: Form error????
- From: Jeff Boyce
- Re: Form error????
- From: jubiiab via AccessMonster.com
- Re: Form error????
- From: Tom Wickerath
- Form error????
- Prev by Date: Date validation in subform textbox dependent upon form textbox
- Next by Date: RE: DLookUp
- Previous by thread: Re: Form error????
- Next by thread: A Letter from a friend on his true story..Miracles do happen if you believe in it,,
- Index(es):
Relevant Pages
|