Click here to Skip to main content
15,892,072 members
Home / Discussions / Database
   

Database

 
QuestionTypical Requirement Pin
Satish - Developer22-Jul-09 1:24
Satish - Developer22-Jul-09 1:24 
AnswerRe: Typical Requirement Pin
DoctorMick22-Jul-09 6:29
DoctorMick22-Jul-09 6:29 
AnswerRe: Typical Requirement Pin
Blue_Boy22-Jul-09 9:36
Blue_Boy22-Jul-09 9:36 
QuestionHow to get the next 1,000,000 records Pin
dabuskol21-Jul-09 20:18
dabuskol21-Jul-09 20:18 
AnswerRe: How to get the next 1,000,000 records Pin
Satish - Developer22-Jul-09 1:46
Satish - Developer22-Jul-09 1:46 
GeneralRe: How to get the next 1,000,000 records Pin
zahedonline22-Jul-09 21:34
zahedonline22-Jul-09 21:34 
GeneralRe: How to get the next 1,000,000 records Pin
Mycroft Holmes23-Jul-09 1:06
professionalMycroft Holmes23-Jul-09 1:06 
AnswerRe: How to get the next 1,000,000 records Pin
Mycroft Holmes23-Jul-09 1:09
professionalMycroft Holmes23-Jul-09 1:09 
Select top 1m records order by ID
Get the last ID in the first set (you do have an ID field)
Select the top 1m records where ID > last ID

You can also look into Row_Number in SQL Server, this will eliminate the detect requirement but is more complex in the select. I would assume you are processing the 1m records and therefore detecting the last ID would be trivial.

Never underestimate the power of human stupidity
RAH

QuestionHow to add trigger function into PostgreSQL 8.0? Pin
valeranavin21-Jul-09 20:17
valeranavin21-Jul-09 20:17 
QuestionMSSQL: How to check if selected string has specific letters on specific places??? Please help... Pin
Magnat7421-Jul-09 10:19
Magnat7421-Jul-09 10:19 
AnswerRe: MSSQL: How to check if selected string has specific letters on specific places??? Please help... Pin
David Mujica21-Jul-09 10:43
David Mujica21-Jul-09 10:43 
GeneralRe: MSSQL: How to check if selected string has specific letters on specific places??? Please help... Pin
Magnat7421-Jul-09 10:49
Magnat7421-Jul-09 10:49 
AnswerRe: MSSQL: How to check if selected string has specific letters on specific places??? Please help... Pin
WoutL21-Jul-09 20:42
WoutL21-Jul-09 20:42 
Generalcool use of "like" Pin
David Mujica22-Jul-09 10:17
David Mujica22-Jul-09 10:17 
GeneralRe: MSSQL: How to check if selected string has specific letters on specific places??? Please help... Pin
Blue_Boy22-Jul-09 11:33
Blue_Boy22-Jul-09 11:33 
Questioncopying the whole table from one server to another server [modified] Pin
venu65621-Jul-09 6:13
venu65621-Jul-09 6:13 
AnswerRe: copuing the whole table from one server to another server Pin
DoctorMick21-Jul-09 6:24
DoctorMick21-Jul-09 6:24 
GeneralRe: copying the whole table from one server to another server Pin
venu65621-Jul-09 6:28
venu65621-Jul-09 6:28 
GeneralRe: copying the whole table from one server to another server Pin
Robin_Roy21-Jul-09 17:56
Robin_Roy21-Jul-09 17:56 
GeneralRe: copying the whole table from one server to another server Pin
venu65621-Jul-09 18:26
venu65621-Jul-09 18:26 
GeneralRe: copying the whole table from one server to another server Pin
Mycroft Holmes21-Jul-09 19:39
professionalMycroft Holmes21-Jul-09 19:39 
AnswerRe: copuing the whole table from one server to another server Pin
icanmakeiteasy21-Jul-09 19:32
icanmakeiteasy21-Jul-09 19:32 
GeneralRe: copuing the whole table from one server to another server Pin
venu65621-Jul-09 19:37
venu65621-Jul-09 19:37 
GeneralRe: copuing the whole table from one server to another server Pin
icanmakeiteasy21-Jul-09 19:50
icanmakeiteasy21-Jul-09 19:50 
Questioncommand to find specific value in select Pin
dabuskol21-Jul-09 1:58
dabuskol21-Jul-09 1:58 

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.