Click here to Skip to main content
15,887,027 members
Home / Discussions / Database
   

Database

 
QuestionMS Access 2003 and Triggers Pin
Ryno Burger4-Oct-07 7:17
Ryno Burger4-Oct-07 7:17 
Questionproblem with date calculation Pin
ahmed_fci20064-Oct-07 1:39
ahmed_fci20064-Oct-07 1:39 
AnswerRe: problem with date calculation Pin
pmarfleet4-Oct-07 4:16
pmarfleet4-Oct-07 4:16 
AnswerRe: problem with date calculation Pin
Blue_Boy4-Oct-07 4:22
Blue_Boy4-Oct-07 4:22 
Questiongroup by problem(plz help me) Pin
Arihant rathi4-Oct-07 1:31
Arihant rathi4-Oct-07 1:31 
AnswerRe: group by problem(plz help me) Pin
andyharman4-Oct-07 1:40
professionalandyharman4-Oct-07 1:40 
GeneralRe: group by problem(plz help me) Pin
Arihant rathi4-Oct-07 3:13
Arihant rathi4-Oct-07 3:13 
Questioninserting values with a nested join query Pin
anuradha.rrao4-Oct-07 1:18
anuradha.rrao4-Oct-07 1:18 
Hi,

I have 3 tables: City_master(cityid(PK),cityname), zone_master(zoneid(PK),zname,cityid(FK)) and city_x_zone(czid(PK),cityid(FK),zoneid(FK).

I am running a join query to get the cityid and zone id into city_x_zone.the query is something like this:
select a.cityid,b.zoneid from city_master as a inner join zone_master as b on a.cityid=b.cityid where cityname='tb1.text' and zname='tb2.text'

I am running an insert query for city_x_zone like this:
insert into cityzone values(newid(),select a.cityid,b.zoneid from city_master as a inner join zone_master as b on a.cityid=b.cityid where cityname='Bangalo' and zname='south')

this is throwing an error.

What can be the solution to this?

Regards,
Anuradha
AnswerRe: inserting values with a nested join query Pin
Paddy Boyd4-Oct-07 1:34
Paddy Boyd4-Oct-07 1:34 
QuestionQuery required Pin
veereshIndia3-Oct-07 23:06
veereshIndia3-Oct-07 23:06 
AnswerRe: Query required Pin
John-ph3-Oct-07 23:33
John-ph3-Oct-07 23:33 
GeneralRe: Query required Pin
veereshIndia3-Oct-07 23:35
veereshIndia3-Oct-07 23:35 
GeneralRe: Query required Pin
John-ph4-Oct-07 0:05
John-ph4-Oct-07 0:05 
GeneralRe: Query required Pin
Krish - KP4-Oct-07 0:30
Krish - KP4-Oct-07 0:30 
GeneralRe: Query required Pin
John-ph4-Oct-07 0:41
John-ph4-Oct-07 0:41 
AnswerRe: Query required Pin
Krish - KP4-Oct-07 0:28
Krish - KP4-Oct-07 0:28 
GeneralRe: Query required Pin
John-ph4-Oct-07 0:38
John-ph4-Oct-07 0:38 
AnswerRe: Query required Pin
Paddy Boyd4-Oct-07 0:35
Paddy Boyd4-Oct-07 0:35 
GeneralRe: Query required Pin
John-ph4-Oct-07 0:44
John-ph4-Oct-07 0:44 
GeneralRe: Query required Pin
Paddy Boyd4-Oct-07 0:46
Paddy Boyd4-Oct-07 0:46 
GeneralRe: Query required Pin
veereshIndia4-Oct-07 1:09
veereshIndia4-Oct-07 1:09 
GeneralRe: Query required Pin
Paddy Boyd4-Oct-07 1:14
Paddy Boyd4-Oct-07 1:14 
GeneralRe: Query required Pin
veereshIndia4-Oct-07 1:27
veereshIndia4-Oct-07 1:27 
AnswerRe: Query required Pin
karoitay4-Oct-07 0:52
karoitay4-Oct-07 0:52 
QuestionRemote Connection MSSQL Pin
confusedme3-Oct-07 19:52
confusedme3-Oct-07 19:52 

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.