Microsoft SQL Server
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMicrosoft SQL Server

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old July 29th, 2008, 01:49 PM
kathyh1 kathyh1 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2008
Posts: 2 kathyh1 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 36 m 40 sec
Reputation Power: 0
Oracle to SQL Server - Select and Insert Issues

Currently migrating Oracle to SQL Server and am re-writing several ColdFusion and .NET apps. I'm running into problems converting SELECT and INSERT commands...things like SUBSTR, SYSDATE, and (+) which work with Oracle tables do not work against SQL Server 2005 tables. I need a good online reference for converting commands that work against Oracle to the proper syntax for SQL Server. Any ideas? Thanks!

Reply With Quote
  #2  
Old July 29th, 2008, 10:03 PM
dykebert's Avatar
dykebert dykebert is offline
Contributing User
Click here for more information. Click here for more information
 
Join Date: Apr 2008
Posts: 349 dykebert User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 Days 11 h 7 m 47 sec
Reputation Power: 1
Check out this MS page:

http://www.microsoft.com/sql/solutions/migration/oracle/default.mspx

Near the bottom of the page there is a White Paper "Guide to Migrating from Oracle to SQL Server 2005". Follow the link and download the word doc.

The white paper has a table showing Oracle funtions and the analagous SQL Server function.

Enjoy!

BTW
if + is used for concatenation SQL Server uses & instead.
Instead of sysDate try Now or Date.
Not sure about Substr since I'm not sure what it does.
__________________
P.S. I am looking for work. <grin>.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft SQL Server > Oracle to SQL Server - Select and Insert Issues


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 3 hosted by Hostway
Stay green...Green IT