Home > Ask the Oracle Database / Applications Experts > Questions & Answers > SQL ANSI standards and compliance
Ask The Oracle Expert: Questions & Answers
EMAIL THIS

SQL ANSI standards and compliance

Lewis Cunningham EXPERT RESPONSE FROM: Lewis Cunningham

Pose a Question
Other Oracle Categories
Meet all Oracle Experts
Become an Expert for this site


Oracle tips, scripts, and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


>
QUESTION POSED ON: 16 November 2005
I have some programs developed in VB6. The SQL command set is compatible with MS SQL Server 2000 and MS Access. Now I need to provide support for Oracle also. The problem I am facing is with functions like LEFT, RIGHT, STR, MONTH, YEAR, etc. When these queries are fired on Oracle it says "invalid identifier." Where can I get a list of compatible functions in Oracle? I would feel obliged if you could help in this regard.

>
It sounds like you've run into a standards issue. SQL has been guided by the ANSI SQL standard. Most vendors still maintain some level of compliance with one of the several versions of the SQL standard.

For a nice overview of SQL and ANSI, see Intro To SQL.

As the link above says, vendors want to differentiate themselves so they add features unique to themselves. In this case, it is the addition of SQL-callable functions.

I don't know of a source that says for function "x" in SQL Server call function "y" in Oracle. The best site I've seen that does that is now very old (Oracle v7.3) but it might be a good place to start. Also, all of Oracle's documentation is free on an Oracle web site. You may have to sign up for a free membership.

You can view the documentation for the Oracle-provided SQL functions or take a look at Oracle SQL standards compliance.

If you have a specific question about using one of the functions or about using PL/SQL, be sure to send it this way!


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
Using Oracle PL/SQL
SELECT statement syntax and examples
Oracle PL/SQL tutorial
PL/SQL datatypes in Oracle
PL/SQL functions and triggers in Oracle
Stored procedures in PL/SQL
How to concatenate rows into a single CLOB in PL/SQL
Working with substitution variables and using EXECUTE IMMEDIATE in PL/SQL
How to open a ref cursor in a PL/SQL procedure
Oracle's free SQL Developer adds database migration tool
Confused about Oracle certification exams

Oracle and SQL
Can I specify Oracle column order in my database table?
Review: Oracle's 11g R2 database has some good and bad
SELECT statement syntax and examples
Oracle PL/SQL tutorial
PL/SQL datatypes in Oracle
PL/SQL functions and triggers in Oracle
Stored procedures in PL/SQL
Do I need a license for SQL Developer Data Modeler in Oracle?
Using the SQL GROUP BY clause for counting combinations
How to use an SQL CASE expression
Oracle and SQL Research

More Oracle-SQL Server integration tips
Storing data in Oracle 9i and SQL Server 2005
Accessing SQL Server through transparent gateway
Querying a SQL Server database from Oracle
ORA-28500 with database link
Importing text file to Oracle table
Lessons learned: Integrating Oracle and SQL Server
What is Oracle's default sorting behavior?
Importing data between Oracle 9i and SQL Server 2000
Running Oracle9i and SQL Server on a single system
Installing Oracle 9i and SQL Server on the same server

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
PL/SQL  (SearchOracle.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Oracle White Papers: Fusion Middleware
HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2003 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts