Click here to Skip to main content
15,906,106 members
Home / Discussions / Database
   

Database

 
AnswerRe: Can execute() return both recordset and output parameters Pin
andyharman30-Apr-03 12:19
professionalandyharman30-Apr-03 12:19 
GeneralCustom view for a datafield Pin
ssnkh29-Apr-03 20:14
ssnkh29-Apr-03 20:14 
GeneralSQLJ with JTree Plz HELP Pin
sharathkv12329-Apr-03 17:02
sharathkv12329-Apr-03 17:02 
GeneralGet parameter that generated by Refresh() Pin
TianYang28-Apr-03 22:21
TianYang28-Apr-03 22:21 
GeneralRead Only Transactions Pin
Patje28-Apr-03 22:08
Patje28-Apr-03 22:08 
GeneralRe: Read Only Transactions Pin
Rein Hillmann1-May-03 19:42
Rein Hillmann1-May-03 19:42 
GeneralRe: Read Only Transactions Pin
Patje4-May-03 20:43
Patje4-May-03 20:43 
GeneralSQL Statement Help... Pin
Jason Weibel28-Apr-03 9:51
Jason Weibel28-Apr-03 9:51 
Working with a table containing 2 million records I want to get the last record for each group.
Example: <br />
ID      Field1	Field2	Field3	DateEntered<br />
1 	tom     a	b	12/12/00<br />
2 	tom     b	c	1/1/01<br />
3 	jack	d	e	2/2/01<br />
4 	tom	d	e	1/2/02<br />
5 	me	a	d	1/2/02<br />
6 	jack	a	b	2/2/02<br />
7 	me	d	d	3/3/03

I want to get only IDs 4, 6 and 7, because they are the last orders for tom, jack and me. Because of the size of the table using a cursor is out of the question. Anyone know of a good way this can be done.
Thanks,


Jason W.
GeneralRe: SQL Statement Help... Pin
Timur Fanshteyn28-Apr-03 11:07
Timur Fanshteyn28-Apr-03 11:07 
GeneralRe: SQL Statement Help... Pin
Jason Weibel28-Apr-03 11:43
Jason Weibel28-Apr-03 11:43 
QuestionADO events biased to COM memory model? Pin
Chopper28-Apr-03 9:33
Chopper28-Apr-03 9:33 
GeneralRelated Tables: How to set forgeign key of child table when adding new rows to parenttable Pin
STW27-Apr-03 10:41
STW27-Apr-03 10:41 
GeneralRe: Related Tables: How to set forgeign key of child table when adding new rows to parenttable Pin
perlmunger30-Apr-03 5:05
perlmunger30-Apr-03 5:05 
GeneralRe: Related Tables: How to set forgeign key of child table when adding new rows to parenttable Pin
STW30-Apr-03 5:25
STW30-Apr-03 5:25 
GeneralToolbar and Short Keys/Cuts Pin
STW27-Apr-03 6:30
STW27-Apr-03 6:30 
GeneralQuery Help Pin
NickOne26-Apr-03 12:35
NickOne26-Apr-03 12:35 
QuestionHow to get the last inserted and updated id (primary_key) with Sql C# Pin
STW26-Apr-03 3:24
STW26-Apr-03 3:24 
AnswerRe: How to get the last inserted and updated id (primary_key) with Sql C# Pin
David Salter26-Apr-03 10:29
David Salter26-Apr-03 10:29 
GeneralRe: How to get the last inserted and updated id (primary_key) with Sql C# Pin
STW26-Apr-03 23:02
STW26-Apr-03 23:02 
GeneralRe: How to get the last inserted and updated id (primary_key) with Sql C# Pin
David Salter30-Apr-03 11:37
David Salter30-Apr-03 11:37 
AnswerRe: How to get the last inserted and updated id (primary_key) with Sql C# Pin
Chris Maunder26-Apr-03 12:42
cofounderChris Maunder26-Apr-03 12:42 
GeneralFilter and Delete Question Pin
Toni7825-Apr-03 6:54
Toni7825-Apr-03 6:54 
GeneralDefault number of Decimals. Pin
Chris Meech25-Apr-03 5:58
Chris Meech25-Apr-03 5:58 
GeneralRe: Default number of Decimals. Pin
Toni7825-Apr-03 7:07
Toni7825-Apr-03 7:07 
QuestionA mostly working SP ? Pin
Mike Osbahr25-Apr-03 4:14
Mike Osbahr25-Apr-03 4: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.