Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 6th, 2003, 03:38 AM
aumasta's Avatar
aumasta aumasta is offline
Cobol Victim
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2002
Location: Munich, GER
Posts: 124 aumasta User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to aumasta
SQL-Standard???

Hi there!
I'm now working with Db2 now and found tons of new SQL commands.
But the problem is:
Some db2 SQL statements aren't available in mysql/Oracle ... and vice versa.
So i wondered where i can find a list of SQL commands that are available in all databases.


TIA
__________________
Lebowski: Isn't that what makes a man?
Dude: Mmm, sure. That and a pair of testicles.

Reply With Quote
  #2  
Old February 6th, 2003, 04:09 AM
swampBoogie swampBoogie is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Jan 2003
Location: Paris Uppland
Posts: 1,784 swampBoogie User rank is Sergeant Major (2000 - 5000 Reputation Level)swampBoogie User rank is Sergeant Major (2000 - 5000 Reputation Level)swampBoogie User rank is Sergeant Major (2000 - 5000 Reputation Level)swampBoogie User rank is Sergeant Major (2000 - 5000 Reputation Level)swampBoogie User rank is Sergeant Major (2000 - 5000 Reputation Level)swampBoogie User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Weeks 4 Days 21 h 42 m 49 sec
Reputation Power: 37
The problem with SQL is that almost all vendors add extensions and only implements a subset of ANSI SQL 99. Especially Mysql lacks a large amount of features that is part of the standard.

You can check that your queries are ANSI SQL 99 compliant by using the validator at

http://developer.mimer.se/validator/parser99/index.tml

Even if your queries adheres to standard there is no warranty that they are portable between different DBMS.

Reply With Quote
  #3  
Old February 6th, 2003, 04:42 AM
aumasta's Avatar
aumasta aumasta is offline
Cobol Victim
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2002
Location: Munich, GER
Posts: 124 aumasta User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to aumasta
Argg

Hm yeah that was my guess to.
The tool you mentioned is geat but our Db2 (Os390) does not like Functions like ADD, which even complie with Ansi 92.

Regards

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > SQL-Standard???


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT