Click here to Skip to main content
15,921,905 members
Home / Discussions / Database
   

Database

 
Generalreturning the primarykey from the last modified record Pin
marcjlandy11-Feb-01 13:46
marcjlandy11-Feb-01 13:46 
GeneralSQL Server Identity field Pin
Kostas Stefanou3-Feb-01 5:23
Kostas Stefanou3-Feb-01 5:23 
GeneralRe: SQL Server Identity field Pin
Anders Molin4-Feb-01 22:39
professionalAnders Molin4-Feb-01 22:39 
GeneralRe: SQL Server Identity field Pin
11-Feb-01 20:16
suss11-Feb-01 20:16 
GeneralCrazy question Pin
Jamie Nordmeyer25-Jan-01 11:05
Jamie Nordmeyer25-Jan-01 11:05 
GeneralRe: Crazy question Pin
Anders Molin26-Jan-01 4:41
professionalAnders Molin26-Jan-01 4:41 
GeneralRe: Crazy question Pin
Jamie Nordmeyer30-Jan-01 5:11
Jamie Nordmeyer30-Jan-01 5:11 
GeneralRe: Crazy question Pin
Chris Meech30-Jan-01 6:48
Chris Meech30-Jan-01 6:48 
Just a suggestion here.

Instead of retreiving all the rows with BillID = 0, initially update all rows with BillID = 0 but set the BillID to something like -1. Then retreive all rows with -1, produce the report and the update the -1 BillID to the new non zero positive value.

Alternatively, if you can add a new column to the table to indicate processing status or state, that would be the most desirable solution.

Chris
GeneralRe: Crazy question Pin
Jamie Nordmeyer30-Jan-01 7:37
Jamie Nordmeyer30-Jan-01 7:37 
GeneralRe: Crazy question Pin
Colin Angus Mackay11-Oct-04 2:35
Colin Angus Mackay11-Oct-04 2:35 
GeneralRe: Crazy question Pin
Anders Molin11-Oct-04 2:48
professionalAnders Molin11-Oct-04 2:48 
GeneralRe: Crazy question Pin
Chris Meech26-Jan-01 4:41
Chris Meech26-Jan-01 4:41 
GeneralNew ADO.NET Article Pin
Griffo18-Jan-01 9:30
Griffo18-Jan-01 9:30 
QuestionWhy can't I set a connectionString? Pin
Dave Midgley17-Jan-01 23:16
Dave Midgley17-Jan-01 23:16 
AnswerRe: Why can't I set a connectionString? Pin
26-Jan-01 4:54
suss26-Jan-01 4:54 
GeneralLooking for young SQL programmer Pin
14-Jan-01 11:27
suss14-Jan-01 11:27 
QuestionWhat database type to choose? Pin
2-Jan-01 4:32
suss2-Jan-01 4:32 
AnswerRe: What database type to choose? Pin
Anders Molin2-Jan-01 23:37
professionalAnders Molin2-Jan-01 23:37 
GeneralSQL Server connections to backend server failing Pin
Chris Maunder5-Dec-00 8:47
cofounderChris Maunder5-Dec-00 8:47 
GeneralRe: SQL Server connections to backend server failing Pin
Anders Molin27-Dec-00 15:14
professionalAnders Molin27-Dec-00 15:14 

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.