Click here to Skip to main content
15,891,253 members
Home / Discussions / Database
   

Database

 
GeneralRe: store string direct to database instead of table Pin
Mark Churchill26-Feb-08 0:37
Mark Churchill26-Feb-08 0:37 
GeneralRe: store string direct to database instead of table Pin
Xmen Real 26-Feb-08 1:22
professional Xmen Real 26-Feb-08 1:22 
GeneralRe: store string direct to database instead of table Pin
Mark Churchill26-Feb-08 2:50
Mark Churchill26-Feb-08 2:50 
GeneralRe: store string direct to database instead of table Pin
Navneet Hegde25-Feb-08 23:46
Navneet Hegde25-Feb-08 23:46 
GeneralRe: store string direct to database instead of table Pin
Xmen Real 25-Feb-08 23:56
professional Xmen Real 25-Feb-08 23:56 
GeneralBackup of SQL Server Pin
leckey25-Feb-08 10:09
leckey25-Feb-08 10:09 
GeneralRe: Backup of SQL Server Pin
Hesham Amin25-Feb-08 21:15
Hesham Amin25-Feb-08 21:15 
Questionembeddd query Pin
baranils25-Feb-08 8:22
baranils25-Feb-08 8:22 
Hello

I'm trying to use a query as a source for another query but I did'nt find the syntax to do it and I do not even know if it is possible

So I'm using a temporary table as below
Is it the right way ?
Is it another way to do it ?


CREATE TEMPORARY TABLE `tempo` <br />
SELECT DISTINCT<br />
`tours`.`dag`,<br />
`tours`.`addrID`,<br />
`tours`.`contID`,<br />
`tours`.`chauffeurID`,<br />
`tours`.`order1`<br />
FROM<br />
`tours`<br />
WHERE<br />
`tours`.`dag` =  '2' AND<br />
`tours`.`chauffeurID` =  '8'<br />
;<br />
SELECT DISTINCT<br />
`tours`.`dag`,<br />
`tours`.`contID`,<br />
`tours`.`chauffeurID`<br />
FROM<br />
`tempo`<br />
  INNER JOIN tours ON `tempo`.`contID` = `tours`.`contID`

GeneralRe: embeddd query Pin
Krish - KP25-Feb-08 16:33
Krish - KP25-Feb-08 16:33 
GeneralSimple admin question for user logins Pin
Leo Smith25-Feb-08 8:20
Leo Smith25-Feb-08 8:20 
GeneralRe: Simple admin question for user logins Pin
Krish - KP25-Feb-08 16:22
Krish - KP25-Feb-08 16:22 
GeneralSQL record locking (to prevent other READS?) Pin
BungleBonce25-Feb-08 5:57
BungleBonce25-Feb-08 5:57 
GeneralRe: SQL record locking (to prevent other READS?) Pin
andyharman25-Feb-08 7:51
professionalandyharman25-Feb-08 7:51 
GeneralRe: SQL record locking (to prevent other READS?) Pin
BungleBonce26-Feb-08 0:38
BungleBonce26-Feb-08 0:38 
GeneralRe: SQL record locking (to prevent other READS?) Pin
andyharman26-Feb-08 4:32
professionalandyharman26-Feb-08 4:32 
Generalautomatic stored procedure or trigger Pin
Mogaambo25-Feb-08 2:55
Mogaambo25-Feb-08 2:55 
GeneralRe: automatic stored procedure or trigger Pin
DoomedOne25-Feb-08 3:46
DoomedOne25-Feb-08 3:46 
GeneralRe: automatic stored procedure or trigger Pin
Mogaambo25-Feb-08 4:28
Mogaambo25-Feb-08 4:28 
GeneralRe: automatic stored procedure or trigger Pin
DoomedOne25-Feb-08 5:54
DoomedOne25-Feb-08 5:54 
QuestionMS Access permissions issue...? Pin
ChandraRam25-Feb-08 1:11
ChandraRam25-Feb-08 1:11 
AnswerRe: MS Access permissions issue...? Pin
Krish - KP25-Feb-08 16:44
Krish - KP25-Feb-08 16:44 
GeneralRe: MS Access permissions issue...? Pin
ChandraRam25-Feb-08 17:55
ChandraRam25-Feb-08 17:55 
GeneralSQL 2005 Login Issue [modified] Pin
Brady Kelly25-Feb-08 0:37
Brady Kelly25-Feb-08 0:37 
GeneralRe: SQL 2005 Login Issue Pin
User 27100925-Feb-08 0:50
User 27100925-Feb-08 0:50 
GeneralRe: SQL 2005 Login Issue Pin
Jacquers25-Feb-08 0:53
Jacquers25-Feb-08 0:53 

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.