Jul 28, 2004 #1 Cap2010 Programmer Mar 29, 2000 196 CA hi, Want to count rowid. One row by one row and on each do a calculation and than go to next or previous row. In oracle it is Rowid, wonder how to do in SAS for going by row. e.g. in Oracle Select * from table1 where rowid > rowid+1 Captain2010
hi, Want to count rowid. One row by one row and on each do a calculation and than go to next or previous row. In oracle it is Rowid, wonder how to do in SAS for going by row. e.g. in Oracle Select * from table1 where rowid > rowid+1 Captain2010
Jul 28, 2004 #2 BNPMike Technical User Sep 17, 2001 1,818 GB Is this a SAS question? Jet does not have row ids unless you add them like any other data item. Upvote 0 Downvote
Jul 29, 2004 Thread starter #3 Cap2010 Programmer Mar 29, 2000 196 CA BNPMike, It is through SQL to find out row id. cap2010 Upvote 0 Downvote
Jul 29, 2004 #4 DanJR Technical User Oct 29, 2002 392 AU hi Cap2010, Is there any particular reason why you want a row id? what problem are you trying to solve? Upvote 0 Downvote
hi Cap2010, Is there any particular reason why you want a row id? what problem are you trying to solve?
Jul 29, 2004 #5 PHV MIS Nov 8, 2002 53,708 FR Select * from table1 where rowid > rowid+1 Are you sure this instruction returns something ? Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244 Upvote 0 Downvote
Select * from table1 where rowid > rowid+1 Are you sure this instruction returns something ? Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
Jul 29, 2004 #6 BNPMike Technical User Sep 17, 2001 1,818 GB Cap2010 SQL doesn't provide row numbers. Maybe some systems do (Oracle?). Jet doesn't. SQL doesn't require it to. Upvote 0 Downvote
Cap2010 SQL doesn't provide row numbers. Maybe some systems do (Oracle?). Jet doesn't. SQL doesn't require it to.