Easier queries?

This is a discussion on Easier queries? within the PHP General forums, part of the PHP Programming Forums category; Here's what I'm thinking, just looking to see if anyone has done this or similar. - I have a ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-14-2003
Shawn McKenzie
 
Posts: n/a
Default Easier queries?

Here's what I'm thinking, just looking to see if anyone has done this or
similar.

- I have a MySQL DB and I create an ODBC datasource for it on my windows box
- I then open MS Access and link the tables from my datasource
- Access provides a graphical relationship builder, so I build relations in
this
- Access also provides a graphical query builder that uses the stored
relationships
- So I build a query, view the SQL and use the SQL code in some mysql_ PHP
functions

- Maybe next I instead save the queries in a query table so I can get them
via simple name, like 'All_Customers'
Sort of analogous to MS SQL Views?

Sound good, or is there a better way?

TIA
-Shawn

P.S. I've also seen mention of some graphical query builders. Can anyone
recommend a good FREE one?


Reply With Quote
  #2 (permalink)  
Old 07-15-2003
Dean E. Weimer
 
Posts: n/a
Default Re: [PHP] Easier queries?


> Here's what I'm thinking, just looking to see if anyone has done this or
> similar.
>
> - I have a MySQL DB and I create an ODBC datasource for it on my windows
> box
> - I then open MS Access and link the tables from my datasource
> - Access provides a graphical relationship builder, so I build relations
> in
> this
> - Access also provides a graphical query builder that uses the stored
> relationships
> - So I build a query, view the SQL and use the SQL code in some mysql_
> PHP
> functions
>
> - Maybe next I instead save the queries in a query table so I can get them
> via simple name, like 'All_Customers'
> Sort of analogous to MS SQL Views?


You may want to consider switching to PostgreSQL which supports views, as
well as cascading updates among tables with foreign key constraints.
However, since it requires cygwin to run on MS Windows it is not the best
for cross platform solutions.

>
> Sound good, or is there a better way?
>
> TIA
> -Shawn
>
> P.S. I've also seen mention of some graphical query builders. Can anyone
> recommend a good FREE one?
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>



--
Thanks,
Dean E. Weimer
http://www.dwiemer.org/
dweimer@dweimer.org
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:20 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0