yes i agree to Raghupathi Kamuni uniqueidentifier as a datatype in database and to generate unique code we have
System.Guid.NewGuid().ToString() Thanks & Regards, Shrinivas Mada, On Mon, Nov 30, 2009 at 11:26 AM, Raghupathi Kamuni <[email protected]>wrote: > use uniqueidentifier, if you are not bothered about the sequence of code > > > On Mon, Nov 30, 2009 at 1:54 AM, aditya chavan <[email protected]>wrote: > >> code is a mixer of string and intiger and my data base is MS SQL 2005 >> so which would be better...?? >> >> >> On Sun, Nov 29, 2009 at 10:07 PM, Cerebrus <[email protected]> wrote: >> >>> string ? varchar ? >>> >>> On Nov 28, 9:49 pm, aditya chavan <[email protected]> wrote: >>> > what datatype should be >>> > kept in database >>> >> >> >
