John Frederick
j.frederick at att.net
Tue Apr 22 05:45:14 CDT 2003
I'm suprised to hear of MySQL buffs on this forum. I'm just looking at it and PHP. I have apache, MySQL, MySQL Control Center, and PHP running on a W2k Prof platform. Control Center looks like an imitation of SQL Server Enterprise Manager. Are there ODBC or OLEDB drivers for MySQL that would enable an Access FE and a MySQL BE? Are there web forums(or fora?) for MySQL? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bert-Jan Brinkhuis Sent: Tuesday, April 22, 2003 3:44 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Arthur - MYSQL All i know is from the SQL prompt: show fields from yourtablename And using PHP: $query = "select * from yourtablename"; $result = mysql_query($query); itterate trough the result and with mysql_field_flags($result, number) you can see which column is the primary key. HTH Bert-Jan ----- Original Message ----- From: <Mwp.Reid at queens-belfast.ac.uk> To: <accessd at databaseadvisors.com> Sent: Monday, April 21, 2003 9:47 PM Subject: [AccessD] Arthur - MYSQL > Arthur > > Change of plan > > I need the sql statement to find out which is the PK in MySQL something like > > SELECT * FROM > databaseName.INFORMATION_SCHEMA.CONSTRAINT_COLUMN_USAGE > > Martin > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com