Click here to Skip to main content
15,916,600 members
Home / Discussions / Database
   

Database

 
GeneralRe: Difference between SQLSERVER 2000 and SQLSERVER 2005 Pin
scottgp28-Feb-08 2:40
professionalscottgp28-Feb-08 2:40 
JokeRe: Difference between SQLSERVER 2000 and SQLSERVER 2005 Pin
Xmen Real 28-Feb-08 4:35
professional Xmen Real 28-Feb-08 4:35 
Questionsqlcommandbuilder.getdeletecommand Pin
rizwan127-Feb-08 20:36
rizwan127-Feb-08 20:36 
GeneralBefore Update Triggers and changing inserted recordset Pin
Leo Smith27-Feb-08 9:17
Leo Smith27-Feb-08 9:17 
GeneralRe: Before Update Triggers and changing inserted recordset Pin
pmarfleet27-Feb-08 11:09
pmarfleet27-Feb-08 11:09 
GeneralQuery Help Pin
solutionsville27-Feb-08 4:00
solutionsville27-Feb-08 4:00 
GeneralRe: Query Help Pin
pmarfleet27-Feb-08 6:25
pmarfleet27-Feb-08 6:25 
AnswerRe: Query Help Pin
solutionsville27-Feb-08 7:40
solutionsville27-Feb-08 7:40 
Hello Paul, and thank you for your response.

I need to get better explaining my brainstorming!

Ok, the Zipcode table has Zipcode, City, State Code fields. The State Table has State Code, State Abrieviation, and State Name. The two tables are related by the State Code field.

I would think that if I enter the zip, then perform an after update event that queries the Zipcode table and populates the State field of the form.

So, with the above in mind, would you think that this query would work?

SELECT [ZIP Codes].[City], [States].[State Abbreviation]
FROM [ZIP Codes], States
WHERE [Zip Codes].[ZIP Code] = '44107' and
[States].[State Code] = (SELECT [ZIP Codes].[State Code] FROM [ZIP Codes] WHERE [ZIP Codes].[ZIP Code] = '44107')
ORDER BY [ZIP Codes].[ZIP Code];


Thanks,
GeneralRe: Query Help Pin
pmarfleet27-Feb-08 7:54
pmarfleet27-Feb-08 7:54 
AnswerRe: Query Help Pin
solutionsville27-Feb-08 8:08
solutionsville27-Feb-08 8:08 
GeneralRe: Query Help Pin
Steven J Jowett28-Feb-08 3:48
Steven J Jowett28-Feb-08 3:48 
QuestionHow to get the field’s data type? Pin
bird121327-Feb-08 2:54
bird121327-Feb-08 2:54 
AnswerRe: How to get the field’s data type? Pin
pmarfleet27-Feb-08 6:31
pmarfleet27-Feb-08 6:31 
GeneralRe: How to get the field’s data type? Pin
bird121329-Feb-08 3:52
bird121329-Feb-08 3:52 
GeneralRe: How to get the field’s data type? Pin
pmarfleet29-Feb-08 10:11
pmarfleet29-Feb-08 10:11 
GeneralReturn ntext from function Pin
hemant.kaushal27-Feb-08 0:17
hemant.kaushal27-Feb-08 0:17 
GeneralRe: Return ntext from function Pin
Mel Padden27-Feb-08 0:47
Mel Padden27-Feb-08 0:47 
Questionquestion about ADO and stored procedure's return value in Oracle Pin
Green Fuze27-Feb-08 0:10
Green Fuze27-Feb-08 0:10 
Generalasp.net with c# - ado.net Pin
arya0826-Feb-08 19:03
arya0826-Feb-08 19:03 
GeneralRe: asp.net with c# - ado.net Pin
Christian Graus26-Feb-08 19:13
protectorChristian Graus26-Feb-08 19:13 
GeneralRe: asp.net with c# - ado.net Pin
arya0826-Feb-08 19:25
arya0826-Feb-08 19:25 
Generalsql Update command Error Pin
phowarso26-Feb-08 17:37
phowarso26-Feb-08 17:37 
GeneralRe: sql Update command Error Pin
Christian Graus26-Feb-08 19:16
protectorChristian Graus26-Feb-08 19:16 
GeneralRe: sql Update command Error Pin
ssurya4u27-Feb-08 1:26
ssurya4u27-Feb-08 1:26 
GeneralRe: sql Update command Error Pin
phowarso27-Feb-08 2:27
phowarso27-Feb-08 2:27 

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.