Click here to Skip to main content
15,914,111 members
Home / Discussions / Database
   

Database

 
Questionfind exact Hour and minutes..... Pin
Member 387988118-Apr-07 19:05
Member 387988118-Apr-07 19:05 
AnswerRe: find exact Hour and minutes..... Pin
Krish - KP18-Apr-07 19:28
Krish - KP18-Apr-07 19:28 
GeneralRe: find exact Hour and minutes..... Pin
Member 387988118-Apr-07 19:40
Member 387988118-Apr-07 19:40 
GeneralRe: find exact Hour and minutes..... Pin
Krish - KP18-Apr-07 20:13
Krish - KP18-Apr-07 20:13 
Questionwhen updating value repeats for all the the Columns Pin
rkherath18-Apr-07 18:03
rkherath18-Apr-07 18:03 
QuestionUpdate tables Pin
hahii18-Apr-07 12:25
hahii18-Apr-07 12:25 
AnswerRe: Update tables Pin
Colin Angus Mackay18-Apr-07 14:21
Colin Angus Mackay18-Apr-07 14:21 
AnswerRe: Update tables Pin
DQNOK19-Apr-07 3:38
professionalDQNOK19-Apr-07 3:38 
Specify which table you want to update by using a JOIN. Here is an example of 4 tables, and an UPDATE to three of them.

CREATE TABLE people
( personID INTEGER
, personame VARCHAR(40)
, jobID INTEGER
);

CREATE TABLE addresses
( addressID INTEGER
, address VARCHAR(80)
);

CREATE TABLE jobs
( jobID INTEGER
, employerID INTEGER
, jobname VARCHAR(25)
);

CREATE TABLE employers
( employerID INTEGER
, employername VARCHAR(50)
, addressID INTEGER
);

UPDATE ((( people    AS P
INNER JOIN jobs      AS J ON P.jobID=J.jobID )
INNER JOIN employers AS E ON J.employerID=E.employerID)
INNER JOIN addresses AS A ON E.addressID=A.addressID)
SET jobname='Dishwasher'
  , employername='McDonalds'
  , address='510 Broadway'
WHERE personame='John Doe';


Hope this helps.
David
QuestionSql Server triggers Pin
AKSSMV18-Apr-07 12:17
AKSSMV18-Apr-07 12:17 
AnswerRe: Sql Server triggers Pin
Colin Angus Mackay18-Apr-07 14:24
Colin Angus Mackay18-Apr-07 14:24 
GeneralRe: Sql Server triggers Pin
AKSSMV19-Apr-07 5:11
AKSSMV19-Apr-07 5:11 
QuestionModules in Access Pin
DQNOK18-Apr-07 10:24
professionalDQNOK18-Apr-07 10:24 
QuestionSimple ADO database connection Pin
kinsella_john18-Apr-07 7:44
kinsella_john18-Apr-07 7:44 
QuestionSQL Server's Linked Server capabilities Pin
radshaykho18-Apr-07 7:31
radshaykho18-Apr-07 7:31 
QuestionBulk Upload Error Pin
saltcode18-Apr-07 5:08
professionalsaltcode18-Apr-07 5:08 
Questionsql String seach based on other Column Pin
Vimalsoft(Pty) Ltd18-Apr-07 2:59
professionalVimalsoft(Pty) Ltd18-Apr-07 2:59 
AnswerRe: sql String seach based on other Column Pin
kubben18-Apr-07 3:07
kubben18-Apr-07 3:07 
GeneralRe: sql String seach based on other Column Pin
Vimalsoft(Pty) Ltd18-Apr-07 3:11
professionalVimalsoft(Pty) Ltd18-Apr-07 3:11 
GeneralRe: sql String seach based on other Column Pin
kubben18-Apr-07 3:14
kubben18-Apr-07 3:14 
GeneralRe: sql String seach based on other Column Pin
Vimalsoft(Pty) Ltd18-Apr-07 3:24
professionalVimalsoft(Pty) Ltd18-Apr-07 3:24 
GeneralRe: sql String seach based on other Column Pin
kubben18-Apr-07 3:33
kubben18-Apr-07 3:33 
GeneralRe: sql String seach based on other Column Pin
Vimalsoft(Pty) Ltd18-Apr-07 3:36
professionalVimalsoft(Pty) Ltd18-Apr-07 3:36 
GeneralRe: sql String seach based on other Column Pin
Vimalsoft(Pty) Ltd18-Apr-07 3:41
professionalVimalsoft(Pty) Ltd18-Apr-07 3:41 
GeneralRe: sql String seach based on other Column Pin
kubben18-Apr-07 3:56
kubben18-Apr-07 3:56 
GeneralRe: sql String seach based on other Column Pin
Vimalsoft(Pty) Ltd18-Apr-07 4:19
professionalVimalsoft(Pty) Ltd18-Apr-07 4:19 

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.