473,395 Members | 1,969 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Convert MS Access SQL statement to Oracle SQL statement

Hi,

I currently have a MS Access select query (pretty lengthy) that runs fine in MS Access, however I now need to convert this query to Oracle's equivelant SQL syntax so that I can create a SQL view in Oracle.

Any help is appreciated!!

Here's the MS Access select query:

SELECT TC_PFIZER_T_PROJECT.NUMBER_STRING_UPPER, TC_PFIZER_T_PROJECT.NAME, TC_PFIZER_T_CONTACT.FIRST_NAME, TC_PFIZER_T_CONTACT.NAME, TC_PFIZER_CONT_CAT_78.COPFIZERGUID, TC_PFIZER_T_PROJECT_1.NAME
FROM TC_PFIZER_CONT_CAT_78 INNER JOIN ((TC_PFIZER_PROJ_CAT_7252 INNER JOIN (((TC_PFIZER_J_PROJ_ASSIGNEE INNER JOIN TC_PFIZER_Y_USER AS TC_PFIZER_Y_USER_1 ON TC_PFIZER_J_PROJ_ASSIGNEE.USER_ID = TC_PFIZER_Y_USER_1.PRIMARY_KEY) INNER JOIN TC_PFIZER_T_CONTACT ON TC_PFIZER_Y_USER_1.CONTACT_ID = TC_PFIZER_T_CONTACT.PRIMARY_KEY) INNER JOIN TC_PFIZER_T_PROJECT ON (TC_PFIZER_T_PROJECT.MAIN_ASSIGNEE_ID = TC_PFIZER_J_PROJ_ASSIGNEE.PRIMARY_KEY) AND (TC_PFIZER_J_PROJ_ASSIGNEE.PROJECT_ID = TC_PFIZER_T_PROJECT.PRIMARY_KEY)) ON TC_PFIZER_PROJ_CAT_7252.PROJECT_ID = TC_PFIZER_T_PROJECT.PRIMARY_KEY) INNER JOIN TC_PFIZER_T_PROJECT AS TC_PFIZER_T_PROJECT_1 ON TC_PFIZER_PROJ_CAT_7252.PFCFPRACTICEGROUP = TC_PFIZER_T_PROJECT_1.PRIMARY_KEY) ON TC_PFIZER_CONT_CAT_78.CONTACT_ID = TC_PFIZER_T_CONTACT.PRIMARY_KEY
WHERE (((TC_PFIZER_T_PROJECT_1.NAME)="Corporate Compliance") AND ((TC_PFIZER_T_PROJECT_1.APPLICATION_ID)=2183) AND ((TC_PFIZER_T_PROJECT_1.DEFAULT_CATEGORY_ID)=6794) ) OR (((TC_PFIZER_T_PROJECT_1.NAME)="Employment Law")) OR (((TC_PFIZER_T_PROJECT_1.NAME)="IP - Enforcement"));
Aug 22 '07 #1
0 2058

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: sedefo | last post by:
I ran into this Microsoft Patterns & Practices Enterprise Library while i was researching how i can write a database independent data access layer. In my company we already use Data Access...
1
by: ian m via SQLMonster.com | last post by:
Hi, I currently have a ms access update query that runs perfectly well and quicly in access however I now need to add this query to convert this qeryu to oracles equivelant sql syntax and add it...
13
by: BigDaDDY | last post by:
Um yeah....In case you haven't figured it out, Microsoft sucks. I'm going to be kicked back in my chair eating popcorn and watching football 10 years from now, while all you clowns are scrambling...
1
by: Andrew Arace | last post by:
I scoured the groups for some hands on code to perform the menial task of exporting table data from an Access 2000 database to Oracle database (in this case, it was oracle 8i but i'm assuming this...
8
by: Alfonso Esteban Gonzalez Sencion | last post by:
I am trying to use Access as a front end for extracting information from an Oracle database. I started using linked tables but I am getting a very curious behaviour. When I consult the linked...
2
by: egoldthwait | last post by:
I need to convert a 17mb access 2000 db to Oracle and house it in a Citrix farm. The issue: we have never converted an Access Db to Oracle but can probably use Oracle's Workbench to assist with...
9
by: Greg Strong | last post by:
Hello All, What is the maximum length of an ODBC pass through query? Things work fine with the code except when I try to create a view which is pretty complex in Oracle. I'm using a DSN...
5
by: jonceramic | last post by:
Hi All, I started developing in Access, and people took notice and so we're starting to migrate into our corporate's bigger Oracle system. I'll still be using my developed Access front ends,...
0
by: becksinthecity | last post by:
I'm trying to convert the below SQL into Oracle but am having some issues with the variable declarations. SQL commands declare @sqlstring varchar(500) select @sqlstring= (select ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.