If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Pervasive.SQL > question about identity type...

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-27-05, 15:54
chuk chuk is offline
Registered User
 
Join Date: Oct 2004
Posts: 10
question about identity type...

hi,

i'm running a create table query thru pcc and trying to specify

a primary key of type "ubigint identity", but it doesn't like the

word identity unless it's used by itself...


what is the limitation of type identity??

tia...
Reply With Quote
  #2 (permalink)  
Old 01-27-05, 16:32
mirtheil mirtheil is offline
Registered User
 
Join Date: Dec 2001
Posts: 1,026
Identity is 4 bytes and has a range of 1 – 2147483647. If you need a UBIGINT, you'll need to simulate the Identity yourself.
__________________
Mirtheil Software
Certified Pervasive Developer
Certified Pervasive Technician
Custom Btrieve/VB development
http://www.mirtheil.com
I do not answer questions by email. Please post on the forum.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On