Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Two SqlQuries

Author  Topic 

kamii47
Constraint Violating Yak Guru

353 Posts

Posted - 2006-04-09 : 08:13:52
Here i have couple queries problems

1. i want to get 3 recods frm table xx which 10000 redors in that
iwant to get 3 records bewteen 7000 and 10,000 heighest 3 salaraies
reocrs i want.

2.In a table i have sequence column so i accessin,addin,editin n
deletin of record can be done through sequenceID only but sequences
in tabe r not in order. how cani get next record/previous record if ur
at a particular record.

spirit1
Cybernetic Yak Master

11752 Posts

Posted - 2006-04-09 : 08:20:14
1. show us the queries you tried.

2. order in a table is irrelevant.
the order must be explicitly stated in order by of the select statement.

Go with the flow & have fun! Else fight the flow
Blog thingie: [URL="http://weblogs.sqlteam.com/mladenp"]
Go to Top of Page
   

- Advertisement -