473,386 Members | 1,720 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,386 software developers and data experts.

Database compatability

Hi,

I am writing an application that I want to work with either a SQL Server
2000 database or an Oracle database.

All of the SQL statements will be coded into the application itself - I do
not want to use stored procedures. My question is this - is there a good book
or other reference material available that will help me ensure that the SQL I
write is compatible with both SQL Server and Oracle? My concern is around
datatypes and in particular manipulating dates within SQL code.

Thanks for any advice given

Jul 21 '05 #1
1 1027
On Wed, 25 Aug 2004 00:39:07 -0700, "hplloyd" <hp*****@discussions.microsoft.com> wrote:

¤ Hi,
¤
¤ I am writing an application that I want to work with either a SQL Server
¤ 2000 database or an Oracle database.
¤
¤ All of the SQL statements will be coded into the application itself - I do
¤ not want to use stored procedures. My question is this - is there a good book
¤ or other reference material available that will help me ensure that the SQL I
¤ write is compatible with both SQL Server and Oracle? My concern is around
¤ datatypes and in particular manipulating dates within SQL code.
¤
¤ Thanks for any advice given

I'm not aware of any reference material that identifies the differences so you will likely need to
digest both PL/SQL and Transact-SQL.

However, if all SQL statements are coded in the application there is practically no chance for
compatibility, that is unless you use the simplest of data access methods. Your chances are far
better with stored procedures since in many instances the data access layer or database server
handles the database specific implementation features.

With respect to the handling of dates in a SQL statement which is passed to the database server for
execution, Oracle typically requires that you use a function called TO_DATE for inserts and updates.
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Nak | last post by:
Hi there, I was wondering if anyone knew of a way to maintain compatability with assemblies providing the interfaces remains the same? At the moment if I re-compile an assembly without actually...
1
by: hplloyd | last post by:
Hi, I am writing an application that I want to work with either a SQL Server 2000 database or an Oracle database. All of the SQL statements will be coded into the application itself - I do...
3
by: Richard Cleaveland | last post by:
A client has just successfully upgraded from Access 97 to 2000. I don't have Access 2000, but I do have Office XP. Can I successfully use my Access on their database? They kind of did this...
0
by: SenthilVel | last post by:
hi I have my application built with Dotnet Framework 1.1 and now i can see most of clients having both the versions 2.0 and 1.1 in their systems, i get an issue when i run my 1.1 application . ...
4
by: zak | last post by:
we have a suite of products that have a number of shared assemblies. During development and support the shared assemblies code will change . I want to control the versioning, so if the code chnages...
1
by: internet.system.error | last post by:
Hello, I write the casual Java code, and to make life easier at work I´ve decided to write a C# application that reads two excel files and does the usual number crunching and spits out a new file....
1
by: jsmall | last post by:
Hi, We currently have a fairly old product, which was originally only compatible with SQL 2000. When we upgraded our server to SQL 2005, the client product gave us a "This product is not...
10
by: Bobby | last post by:
Hi, The organisation I work for is on the verge of buying Microsoft Office 2007 Pro Plus OLP NL. We currently use Office Pro 2003. Our business system is written in Access 2003 with a SQL Server...
6
by: Randy Shore | last post by:
I have a shared Access mdb that was originally written in A2000. The database is large, around 40 tables, 40 forms (many with multiple sub-forms), and 100s of reports. The database is not split,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.