Click here to Skip to main content
15,887,596 members
Home / Discussions / Database
   

Database

 
QuestionGetting AutoNumber from last inserted row (C++)? Pin
MasterShin24-Feb-07 7:33
MasterShin24-Feb-07 7:33 
AnswerRe: Getting AutoNumber from last inserted row (C++)? Pin
Hesham Amin24-Feb-07 7:46
Hesham Amin24-Feb-07 7:46 
GeneralRe: Getting AutoNumber from last inserted row (C++)? Pin
MasterShin24-Feb-07 7:52
MasterShin24-Feb-07 7:52 
GeneralRe: Getting AutoNumber from last inserted row (C++)? Pin
Hesham Amin25-Feb-07 7:01
Hesham Amin25-Feb-07 7:01 
Questionarray parameter Pin
illusionFinder23-Feb-07 22:22
illusionFinder23-Feb-07 22:22 
AnswerRe: array parameter Pin
Harini N K24-Feb-07 1:02
Harini N K24-Feb-07 1:02 
QuestionQuery to Display records from 20 to 30 from total of 100 records Pin
indian14323-Feb-07 18:05
indian14323-Feb-07 18:05 
AnswerRe: Query to Display records from 20 to 30 from total of 100 records Pin
Hesham Amin24-Feb-07 7:29
Hesham Amin24-Feb-07 7:29 
This works in SQL Server but not sure in MS Acceess
Select top 10 * from TALE_NAME
where ID not in
(Select top 20 ID from TALE_NAME order by ID )
order by ID


another method in MS SQL Server 2005:
With ctp as 
(
Select row_number() over (order by ID) a, * from TABLE_NAME
)
Select * from ctp
where a between 21 and 30
order by a



Hesham A. Amin
blog

AnswerRe: Query to Display records from 20 to 30 from total of 100 records Pin
Atif Ali Bhatti26-Feb-07 0:24
Atif Ali Bhatti26-Feb-07 0:24 
GeneralRe: Query to Display records from 20 to 30 from total of 100 records Pin
indian14326-Feb-07 0:35
indian14326-Feb-07 0:35 
QuestionMs access-how to get the difference between two time fields Pin
jeya krishnan.v23-Feb-07 17:37
jeya krishnan.v23-Feb-07 17:37 
AnswerRe: Ms access-how to get the difference between two time fields Pin
Hesham Amin24-Feb-07 7:31
Hesham Amin24-Feb-07 7:31 
QuestionEasy DateTime question Pin
gantww23-Feb-07 9:14
gantww23-Feb-07 9:14 
AnswerRe: Easy DateTime question Pin
kubben23-Feb-07 9:53
kubben23-Feb-07 9:53 
GeneralRe: Easy DateTime question Pin
gantww23-Feb-07 10:00
gantww23-Feb-07 10:00 
GeneralRe: Easy DateTime question Pin
kubben23-Feb-07 10:16
kubben23-Feb-07 10:16 
GeneraltimeStart,timeEnd Pin
bernie_01128-Feb-07 21:00
bernie_01128-Feb-07 21:00 
GeneralRe: timeStart,timeEnd Pin
kubben1-Mar-07 11:16
kubben1-Mar-07 11:16 
GeneralRe: timeStart,timeEnd Pin
bernie_0111-Mar-07 18:45
bernie_0111-Mar-07 18:45 
GeneralRe: timeStart,timeEnd Pin
kubben2-Mar-07 0:44
kubben2-Mar-07 0:44 
GeneralRe: timeStart,timeEnd Pin
bernie_0112-Mar-07 15:48
bernie_0112-Mar-07 15:48 
GeneralRe: timeStart,timeEnd Pin
kubben2-Mar-07 15:58
kubben2-Mar-07 15:58 
GeneralRe: timeStart,timeEnd Pin
bernie_0112-Mar-07 16:03
bernie_0112-Mar-07 16:03 
GeneralRe: timeStart,timeEnd Pin
kubben2-Mar-07 16:06
kubben2-Mar-07 16:06 
GeneralRe: timeStart,timeEnd Pin
bernie_0112-Mar-07 16:11
bernie_0112-Mar-07 16:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.