Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

RE: [PHP-DB] MySQL Subquery problems...
only mysql 4.1+ supports subqueries..if you version is lower it won;t work

Bastien

>From: "NIPP, SCOTT V (SBCSI)" <sn4265@sbc.com>
>To: <php-db@lists.php.net>
>Subject: [PHP-DB] MySQL Subquery problems...
>Date: Wed, 30 Mar 2005 09:25:36 -0600
>
>	I am working with one of our Oracle DBAs to have him try and
>help me get a couple of queries working.  The problem is that in looking
>at the documentation for MySQL it seems that what we are attempting
>should work.  Unfortunately, it doesn't.  Here is what we are trying...
>
>mysql> SELECT CPU_Hostname FROM AllMid_Data
>     -> WHERE CPU_Hostname NOT IN
>     -> (SELECT hostname FROM exclusion);
>ERROR 1064: You have an error in your SQL syntax.  Check the manual that
>corresponds to your MySQL server version for the right syntax to use
>near 'SELECT hostname FROM exclusion)' at line 3
>
>	This is an error returned from the mysql client.  Any help would
>be most appreciated.
>
>Scott Nipp
>Phone:  (214) 858-1289
>E-mail:  sn4265@sbc.com
>Web:  http:\\ldsa.sbcld.sbc.com
>
>--
>PHP Database Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>

Report this thread to moderator Post Follow-up to this message
Old Post
Bastien Koert
03-30-05 08:56 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP DB archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 07:04 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.