Viewing 15 posts - 1 through 15 (of 17 total)
I am working on an old project, which is using 10 digit string for tracking credit card transactions. But problem with the old code is that sometimes it generates duplicate...
January 14, 2010 at 10:02 pm
I want it for storing transaction no.
I think it will be better to check in database for uniqueness.
January 14, 2010 at 4:22 am
Thanks.
But if I take only 10 characters of string generated using newid() like this:
select CONVERT(varchar(10), right(newid(),10))
still will it generate unique string?
January 14, 2010 at 3:20 am
Hi
So, newid() function only generates random no.
Will I have to check for its uniqueness?
January 13, 2010 at 2:29 am
Hi
Thanks. This looks much simpler.
But will it generate unique string for a table?
January 13, 2010 at 2:09 am
Hi
Thanks for your solution
January 12, 2010 at 11:58 pm
I need to generate a random 10 digit alphanumeric string that is also unique within a table.
January 12, 2010 at 3:27 am
I am not changing the datatype of column.
It was previously ntext and now also it is going to be ntext.
What I am changing is the insert query for this...
December 22, 2009 at 8:51 pm
Hi
I killed that process successfully.
Before that process was running for 1 hr.
Will it take same time for rollback?
How to make sure that rollback is finished or going on?
July 10, 2009 at 6:40 am
Thanks alot.
Thats what I was looking for.
How to create unique constraint over multiple columns?
September 23, 2008 at 3:15 am
In Administrative Tools - Services -
Check whether SQL Server is listed
September 20, 2008 at 3:39 am
I am using this :
select * from users
where regdatetime > Dateadd(hour,-24,getdate())
Will this give correct result :
if suppose user registers at 11 pm of 15 sep
and if I see...
September 15, 2008 at 6:53 am
Viewing 15 posts - 1 through 15 (of 17 total)