Click here to Skip to main content
15,919,422 members
Home / Discussions / Database
   

Database

 
GeneralRe: Query Analyzer for SQL Server 2005? Pin
Mike Dimmick15-Aug-06 1:08
Mike Dimmick15-Aug-06 1:08 
Questioncan any one give following vb code conversion in C# with correct syntaxes Pin
URSrafI14-Aug-06 4:40
URSrafI14-Aug-06 4:40 
AnswerRe: can any one give following vb code conversion in C# with correct syntaxes Pin
Colin Angus Mackay14-Aug-06 4:48
Colin Angus Mackay14-Aug-06 4:48 
AnswerRe: can any one give following vb code conversion in C# with correct syntaxes Pin
Ennis Ray Lynch, Jr.14-Aug-06 4:53
Ennis Ray Lynch, Jr.14-Aug-06 4:53 
QuestionXML document definition question Pin
Super Lloyd14-Aug-06 4:23
Super Lloyd14-Aug-06 4:23 
AnswerRe: XML document definition question Pin
Ennis Ray Lynch, Jr.14-Aug-06 6:10
Ennis Ray Lynch, Jr.14-Aug-06 6:10 
GeneralRe: XML document definition question Pin
Super Lloyd14-Aug-06 13:00
Super Lloyd14-Aug-06 13:00 
QuestionRandom alphanumeric generator Pin
totig14-Aug-06 0:41
totig14-Aug-06 0:41 
Hi, I need to create a 6 character random alphnumberic serial number. How can this be achieved in SQL Server 2000? I have been searching and found that Oracle has a function for this, so I am assuming there should be one for SQL then. I could do this easily in .net - but I dont want to have to keep sending a request to the database to check that this number is unique. I would prefer to do the whole thing in a SQL function. So far the only way I have been able to work out, is too create a new GUID - select 6 characters from it - then check that these are not already used in the table (otherwise create a new one and repeat) and insert it.

Any help on this?

Thanks
Wayde
AnswerRe: Random alphanumeric generator Pin
totig14-Aug-06 2:19
totig14-Aug-06 2:19 
QuestionRegarding Usage of datatype 'text' Pin
H he el el oooo13-Aug-06 23:01
H he el el oooo13-Aug-06 23:01 
AnswerRe: Regarding Usage of datatype 'text' Pin
Mike Dimmick14-Aug-06 0:01
Mike Dimmick14-Aug-06 0:01 
GeneralRe: Regarding Usage of datatype 'text' Pin
H he el el oooo14-Aug-06 3:01
H he el el oooo14-Aug-06 3:01 
AnswerRe: Regarding Usage of datatype 'text' Pin
Mike Dimmick14-Aug-06 12:59
Mike Dimmick14-Aug-06 12:59 
QuestionHow to set array parameter in Sybase ASE stored procedure? Pin
Best Kiluyar13-Aug-06 20:57
Best Kiluyar13-Aug-06 20:57 
Questiongetting data from a parent table Pin
Glen Harvy13-Aug-06 18:46
Glen Harvy13-Aug-06 18:46 
AnswerRe: getting data from a parent table Pin
Eric Dahlvang14-Aug-06 10:32
Eric Dahlvang14-Aug-06 10:32 
GeneralRe: getting data from a parent table [modified] Pin
Glen Harvy14-Aug-06 13:00
Glen Harvy14-Aug-06 13:00 
QuestionReduce multiple SQL statements [modified] Pin
myNameIsRon13-Aug-06 12:34
myNameIsRon13-Aug-06 12:34 
AnswerRe: Reduce multiple SQL statements Pin
Colin Angus Mackay13-Aug-06 13:00
Colin Angus Mackay13-Aug-06 13:00 
GeneralRe: Reduce multiple SQL statements Pin
myNameIsRon13-Aug-06 15:26
myNameIsRon13-Aug-06 15:26 
Questionhandling closed page Pin
abonasser13-Aug-06 3:20
abonasser13-Aug-06 3:20 
AnswerRe: handling closed page Pin
Colin Angus Mackay13-Aug-06 3:46
Colin Angus Mackay13-Aug-06 3:46 
QuestionMySQL SQL Dictionary. Pin
NaNg1524113-Aug-06 1:38
NaNg1524113-Aug-06 1:38 
AnswerRe: MySQL SQL Dictionary. Pin
Colin Angus Mackay13-Aug-06 3:19
Colin Angus Mackay13-Aug-06 3:19 
QuestionError in select statement Pin
very_short_life12-Aug-06 4:00
very_short_life12-Aug-06 4:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.