R2i DotNetNuke® Forum

R2i wants you to have the opportunity to ask questions, post reviews, help others or just rant and rave about DotNetNuke® or any of the R2i Modules and Skins. Our team spends hour upon hour, day after day, working on custom DotNetNuke® modules and services; please feel free to ask us anything.
 
GUID on the fly
Last Post 10 Mar 2009 09:04 PM by svedire. 3 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Informative
rmarshallUser is Offline
New Member
New Member
Posts:27

--
08 Feb 2007 09:25 PM  
Perhaps this already exists and I just don't know how to do it. It would be nice to be able to generate a GUID on the fly so that when I do an INSERT to the database I can provide the primary key and already know what it is.
Thank you,<br>Richard M.
eklugUser is Offline
New Member
New Member
Posts:46

--
28 Oct 2008 06:17 PM  
Ever figure this out? Or is it an SQL thing and not something ListX will do.
AlexKUser is Offline
Basic Member
Basic Member
Posts:128

--
03 Dec 2008 03:09 PM  
I tried this using ListX, but using MSSQL's newid() function can't be beaten when it comes to easiness.
svedireUser is Offline
Basic Member
Basic Member
Posts:128

--
10 Mar 2009 09:04 PM  
Hi,

Using newid() is the best way of doing it.

Sindura
You are not authorized to post a reply.

Active Forums 4.1
 

New York, NY • Baltimore, MD • Vienna, VA • St. Louis, MO • Seatle, WA • 410.327.0007 • info@R2Integrated.com

Bookmark & Share Bookmark and Share