Viewing 13 posts - 1 through 13 (of 13 total)
which is better for performance GUID or sequence
thanks
February 12, 2015 at 11:24 am
This is the nearest solutions i may use, using the following article.
http://sqlperformance.com/2013/09/t-sql-queries/random-collisions
my scenario,
More 1000000 users registers with site and uploads documents minimum 10. Even though i can use...
February 12, 2015 at 10:49 am
let us assume i am going to store documents.
for every document i am going to set a primary key that will be an alphanumeric value (may be 4 digits)
n users...
February 11, 2015 at 1:11 pm
Lowell (2/11/2015)
carrieathomer (2/11/2015)
i need to create random alphanumeric characters as primary key values when inserting a record.
eg: cmSbXsFE3l8
it can start from 4 digit characters and can grow...
February 11, 2015 at 10:26 am
Thanks all for the discussing the issue
June 29, 2014 at 9:07 am
Matt Miller (#4) (6/27/2014)
June 27, 2014 at 4:01 pm
no cache is to create continuous values even when there is a server restart.
while loop is to make successfull insertion when there is a failure
June 27, 2014 at 7:42 am
i tried to insert 1 million rows in a test table using sequence and using the code snippet which i posted first. Surprisingly, the query with with select max created...
June 27, 2014 at 6:16 am
Sean Lange (6/26/2014)
carrieathomer (6/26/2014)
jumping 10000 everytime for server restart (happens in shared hosting environment) creates 7 digit or...
June 26, 2014 at 2:33 pm
do you see the url of this page, the id used inthe URL.
jumping 10000 everytime for server restart (happens in shared hosting environment) creates 7 digit or 8 digit id...
June 26, 2014 at 2:02 pm
i want continuous primary key integers without jump in values.
the while works until a successful insertion of a new record with unique primary key value
June 26, 2014 at 1:29 pm
that is reason using while statement and even if there is failure it is going to try again.
June 26, 2014 at 1:00 pm
Occassional delete is ok,
so it will be 101
The idea is how to create the values incrementally.
June 26, 2014 at 12:49 pm
Viewing 13 posts - 1 through 13 (of 13 total)