Click here to Skip to main content
15,910,118 members
Home / Discussions / Database
   

Database

 
QuestionSELECT COUNT for individual rows Pin
Nino_117-Jul-06 10:38
Nino_117-Jul-06 10:38 
AnswerThe rows are the same? Pin
Ennis Ray Lynch, Jr.17-Jul-06 10:45
Ennis Ray Lynch, Jr.17-Jul-06 10:45 
GeneralActually try Pin
Ennis Ray Lynch, Jr.17-Jul-06 10:47
Ennis Ray Lynch, Jr.17-Jul-06 10:47 
GeneralRe: Actually try Pin
Nino_117-Jul-06 11:02
Nino_117-Jul-06 11:02 
GeneralRe: Actually try Pin
Colin Angus Mackay17-Jul-06 11:56
Colin Angus Mackay17-Jul-06 11:56 
GeneralRe: Actually try Pin
Nino_117-Jul-06 12:10
Nino_117-Jul-06 12:10 
GeneralRe: Actually try Pin
Colin Angus Mackay17-Jul-06 20:41
Colin Angus Mackay17-Jul-06 20:41 
QuestionHow to Rollover a Table Pin
Robert M Greene17-Jul-06 9:49
Robert M Greene17-Jul-06 9:49 
I am looking for some direction about how to keep a table in a SQL server db (2000 or above) of fixed size.


Requirements:
Keep n records, Keep t date/time range of records, keep priority records etc...

a) Should I delete old records on insert, ie. stored proc?
b) Should I delete old records with a Job/External process?
c) Should I just use the the old "DELETE FROM tablename" command?


Since I will be filling the table to it's limit often, and deleting the old contents should I clean up the transaction logs as well? When? How?

I am just looking for some general direction.








.............................
There's nothing like the sound of incoming rifle and mortar rounds to cure the blues. No matter how down you are, you take an active and immediate interest in life.


Fiat justitia, et ruat cælum
AnswerA combined approach Pin
Ennis Ray Lynch, Jr.17-Jul-06 10:48
Ennis Ray Lynch, Jr.17-Jul-06 10:48 
GeneralRe: A combined approach Pin
Frank Kerrigan18-Jul-06 2:05
Frank Kerrigan18-Jul-06 2:05 
GeneralHold on there skippy Pin
Ennis Ray Lynch, Jr.18-Jul-06 2:40
Ennis Ray Lynch, Jr.18-Jul-06 2:40 
GeneralRe: Hold on there skippy Pin
Robert M Greene18-Jul-06 3:02
Robert M Greene18-Jul-06 3:02 
GeneralRe: Hold on there skippy [modified] Pin
Frank Kerrigan18-Jul-06 3:54
Frank Kerrigan18-Jul-06 3:54 
GeneralRe: Hold on there skippy Pin
Frank Kerrigan18-Jul-06 3:55
Frank Kerrigan18-Jul-06 3:55 
GeneralRe: A combined approach Pin
S Douglas23-Jul-06 21:17
professionalS Douglas23-Jul-06 21:17 
QuestionDataSet WriteXml -> ReadXml loses NULL values Pin
Ashley van Gerven17-Jul-06 2:24
Ashley van Gerven17-Jul-06 2:24 
AnswerRe: DataSet WriteXml -> ReadXml loses NULL values Pin
Ennis Ray Lynch, Jr.17-Jul-06 3:22
Ennis Ray Lynch, Jr.17-Jul-06 3:22 
GeneralRe: DataSet WriteXml -> ReadXml loses NULL values Pin
Ashley van Gerven17-Jul-06 3:43
Ashley van Gerven17-Jul-06 3:43 
GeneralYeah but Pin
Ennis Ray Lynch, Jr.17-Jul-06 3:55
Ennis Ray Lynch, Jr.17-Jul-06 3:55 
GeneralRe: Yeah but Pin
Ashley van Gerven17-Jul-06 4:10
Ashley van Gerven17-Jul-06 4:10 
GeneralIf I use XSD.exe I get Pin
Ennis Ray Lynch, Jr.17-Jul-06 4:27
Ennis Ray Lynch, Jr.17-Jul-06 4:27 
GeneralRe: If I use XSD.exe I get Pin
Ashley van Gerven17-Jul-06 4:43
Ashley van Gerven17-Jul-06 4:43 
GeneralThats what I think Pin
Ennis Ray Lynch, Jr.17-Jul-06 4:45
Ennis Ray Lynch, Jr.17-Jul-06 4:45 
QuestionQuery to Transfer Data? Pin
MudkiSekhon17-Jul-06 1:06
MudkiSekhon17-Jul-06 1:06 
AnswerRe: Query to Transfer Data? Pin
Colin Angus Mackay17-Jul-06 1:28
Colin Angus Mackay17-Jul-06 1:28 

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.