General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Select statement - exists in
Environment versions
Network:
Windows 2003 Server
Hi
I'm having a bit of a senior moment and for the life of me cannot get a select statement to work?!!??!
I have a table called myOrders, and in that there's a field called myOrders.RegionID. I also have a table called myRegions with the fields RegionID, RegionName.
I'm trying to build a cursor called MyResults that selects a date range from myOrders table, and then uses myOrders.RegionID to pull in the field MyRegion.RegionName.
MyResults should look something like:
myResults.OrderNo
myResults.OrderDate
myResults.RegionID
myResults.RegionName
Help, it's driving me bonker??!?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only