Click here to Skip to main content
15,880,543 members
Home / Discussions / Database
   

Database

 
AnswerRe: Insert to SQL Error Pin
Edbert P13-Oct-05 17:43
Edbert P13-Oct-05 17:43 
GeneralRe: Insert to SQL Error Pin
PAEC14-Oct-05 6:46
PAEC14-Oct-05 6:46 
GeneralRe: Insert to SQL Error Pin
Edbert P16-Oct-05 12:39
Edbert P16-Oct-05 12:39 
GeneralRe: Insert to SQL Error Pin
PAEC17-Oct-05 2:43
PAEC17-Oct-05 2:43 
GeneralRe: Insert to SQL Error Pin
S Douglas20-Oct-05 23:15
professionalS Douglas20-Oct-05 23:15 
Questioninsert a nre record based on highest value in a field Pin
mmcsherr12-Oct-05 4:58
mmcsherr12-Oct-05 4:58 
AnswerRe: insert a nre record based on highest value in a field Pin
Colin Angus Mackay12-Oct-05 6:01
Colin Angus Mackay12-Oct-05 6:01 
GeneralRe: insert a nre record based on highest value in a field Pin
mmcsherr12-Oct-05 7:40
mmcsherr12-Oct-05 7:40 
thanks for the reply, just a question.

the statement SELECT SUM(SUB) + 1 from IMSUB, does this sum all the SUB numbers and add 1? I was trying the following statement:

INSERT INTO IMSUB SELECT MAX(SUB) + 1 AS sub1, 1 as SUBV1, "Name of new sub" as SUBD1;

DO you think this will work and is it atomic, so that multiple users will not collide?

Smile | :)
GeneralRe: insert a nre record based on highest value in a field Pin
Colin Angus Mackay12-Oct-05 7:44
Colin Angus Mackay12-Oct-05 7:44 
GeneralRe: insert a nre record based on highest value in a field Pin
mmcsherr12-Oct-05 9:26
mmcsherr12-Oct-05 9:26 
Questiontrigger for insert Pin
Anonymous12-Oct-05 0:11
Anonymous12-Oct-05 0:11 
AnswerRe: trigger for insert Pin
Mike Dimmick14-Oct-05 5:22
Mike Dimmick14-Oct-05 5:22 
QuestionProblem pointing to new DataRow - Please Help Pin
Darktaz11-Oct-05 14:57
Darktaz11-Oct-05 14:57 
AnswerRe: Problem pointing to new DataRow - Please Help Pin
slwong8111-Oct-05 16:40
slwong8111-Oct-05 16:40 
QuestionValidate DateTime in storeproc Pin
miah alom11-Oct-05 12:14
miah alom11-Oct-05 12:14 
AnswerRe: Validate DateTime in storeproc Pin
-Dr_X-13-Oct-05 8:46
-Dr_X-13-Oct-05 8:46 
GeneralRe: Validate DateTime in storeproc Pin
miah alom13-Oct-05 8:48
miah alom13-Oct-05 8:48 
QuestionUpdate/Insert Dilema Pin
Vodstok11-Oct-05 3:01
Vodstok11-Oct-05 3:01 
AnswerRe: Update/Insert Dilema Pin
Michael Potter11-Oct-05 3:54
Michael Potter11-Oct-05 3:54 
GeneralRe: Update/Insert Dilema Pin
Vodstok11-Oct-05 9:15
Vodstok11-Oct-05 9:15 
QuestionOracle database Question.. Pin
Member 123981310-Oct-05 10:39
Member 123981310-Oct-05 10:39 
AnswerRe: Oracle database Question.. Pin
enjoycrack11-Oct-05 16:09
enjoycrack11-Oct-05 16:09 
QuestionSaving and retrieving pictures Pin
Erik Lund10-Oct-05 4:45
Erik Lund10-Oct-05 4:45 
QuestionDeploying MSDE Pin
steve_m_m10-Oct-05 0:27
steve_m_m10-Oct-05 0:27 
QuestionUn-natural sort order... Pin
ModuleKev10-Oct-05 0:20
ModuleKev10-Oct-05 0:20 

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.