#110436 - 2003-12-15 10:11 PM
SQL Select Statement
|
Richie19Rich77
Seasoned Scripter
   
Registered: 2002-08-16
Posts: 624
Loc: London, England
|
Need I say more, why is making up a working SQL Statement so hard.
This is striaght from MS Access SQL Viewer.
Code:
SELECT Groups.Command, Groups.GroupName FROM Groups WHERE (((Groups.Command)="BackFolder") AND ((Groups.GroupName)="Medical Records"));
Of course it does not work, and what ever I try fails, what should I be looking for to get this working. Apart from a new Job.
I have a Table called "Groups", Fields called "Command" and "GroupName".
Thanks
|
|
Top
|
|
|
|
#110441 - 2003-12-16 05:50 AM
Re: SQL Select Statement
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Richard,
A tip for you.. If I may. 
Go into Enterprise Manager, Your Database, Views.. Create a new View (you are not going to save it).. But anyway, it will give you the results you are looking for in a Microsft Access kind of way. However, the results will work perfectly in SQL.
BTW, you can you also work with SQL Server using Access under a .ADP File format too.
Kent
|
|
Top
|
|
|
|
Moderator: Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart
|
0 registered
and 302 anonymous users online.
|
|
|