If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Porting from SQL Server 2000 to DB2

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-03-03, 21:43
kangan kangan is offline
Registered User
 
Join Date: Oct 2003
Posts: 17
Porting from SQL Server 2000 to DB2

Hi,
I have been trying to port a SQL server based code to DB2 based. Since I am new to DB2, I dont know what are the commands that are available with DB2. The
Select Top 10 * from TableName SQL Command which works with SQL server 200 doesn't seem to work with DB2, is there any equivalent SQL command in DB2. Also, If anybody can let me know some good DB2 books, it will be of great help to me.
-thanks
Kannappan
__________________
kr
Reply With Quote
  #2 (permalink)  
Old 11-04-03, 01:05
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,198
The DB2 manuals can be downloaded in PDF format. You need most of the manuals, especially the SQL Reference (vol 1 and 2). There is also porting information available on the IBM website. To get these links, go to the Useful DB2 Stuff thread.
Reply With Quote
  #3 (permalink)  
Old 11-04-03, 13:09
soumil soumil is offline
Registered User
 
Join Date: Jul 2003
Posts: 30
I am not aware of any equivalent command to "select top 10 ... from .."

Do we have the concept of ROWID in DB2. If we have Rowids thenwe could use that to get the exact same result set.
-
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On