daniel kessler wrote:
> hey thanks guys.  I already implemented a clunkier way, but I'd be interested 
> in saving Chris' stored procedure until I'm good enough to implement it.  
> I'll be implementing searches forever into the future.  Why wouldn't it work 
> in Oracle (which is my DB)?

Stored procedures are not very portable (yet) between databases. 
The SQL standardization committee was late defining a standard 
for stored procedures (SQL/PSM in 1997?, basic SQL is from 
1989/1992) and by that time the big three databases already had 
their own languages for stored procedures. Oracle uses pl/SQL (a 
dialect of SQL/PSM) while MS SQL Server uses TransactSQL which is 
very different.


In a few years this will probably improve. SQL/PSM is modelled 
after the procedural language in IBMs DB2. So naturally DB2 
already supports it and some of the smaller databases have done 
so for a while too. What is new is that both MySQL and PostgreSQL 
are working on a compliant implementation of SQL/PSM. So in a few 
years we will have MS SQL Server with a totally different 
procedural language, Oracle with an incompatible dialect, and a 
large group of other databases where stored procedures are portable.

<plug>
How about calling your Oracle sales rep and asking how they are 
doing on a compliant implementation of SQL/PSM?
</plug>

Jochem

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211241
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to