Solved

Oracle to SQL Server

Posted on 2008-06-16
1
223 Views
Last Modified: 2013-12-19
I have this Oracle query: SELECT FOI_CLIENT_ID_SEQ.NEXTVAL FROM DUAL that get the next client ID, and I would like to do a similar query in SQL Server 2000, considering that the table is empty at first.
0
Comment
Question by:soliveira
1 Comment
 
LVL 2

Accepted Solution

by:
mayno224 earned 500 total points
Comment Utility
Sequences do not exist for SQL Server.  It uses Identity instead.  Checkout this discussion...

http://forum.java.sun.com/thread.jspa?messageID=10296634&tstart=0

Hope this helps.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Oracle Database creation fails 5 36
Grid querry results 41 51
Oracle SQL Select within a Where Clause 9 37
oracle rollup query 3 34
Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now