Click here to Skip to main content
15,917,060 members
Home / Discussions / Database
   

Database

 
AnswerRe: ADO.NET --- sqlclient Pin
Parwej Ahamad7-Nov-06 5:37
professionalParwej Ahamad7-Nov-06 5:37 
GeneralRe: ADO.NET --- sqlclient Pin
vasini7-Nov-06 8:56
vasini7-Nov-06 8:56 
GeneralRe: ADO.NET --- sqlclient Pin
Michael P Butler7-Nov-06 9:45
Michael P Butler7-Nov-06 9:45 
GeneralRe: ADO.NET --- sqlclient Pin
Parwej Ahamad7-Nov-06 15:57
professionalParwej Ahamad7-Nov-06 15:57 
AnswerRe: ADO.NET --- sqlclient Pin
André Ziegler7-Nov-06 11:25
André Ziegler7-Nov-06 11:25 
Questionhow to write string to MS access database through DAO? Pin
bloodwinner7-Nov-06 4:43
bloodwinner7-Nov-06 4:43 
AnswerRe: how to write string to MS access database through DAO? Pin
led mike7-Nov-06 5:00
led mike7-Nov-06 5:00 
QuestionInserting large records in SQL server Pin
Imtiaz Murtaza7-Nov-06 4:06
Imtiaz Murtaza7-Nov-06 4:06 
Dear friends,
Though i am using MS SQL server for a long time, but for my current project, the situation is somewhat different than before and as such need your advice.

The problem is that i am working on a database in which there will be huge amounts of inserts in a table (approximately 5000 records per day). Actually we are storing the record of 'Traveller Cheques' issued by a bank. The bank issues around 5000 traveller cheques per day and these cheques are sorted by serial number. As such the user does not enter the serial number of individual cheque and only enters the upper limit and lower limit of serial numbers. We want to enter the individual row in a table for each traveller cheque. So we are using a stored procedure which accepts the upper and lower limits of serial numbers. In this stored procedure, we take the lower limit and start a loop to insert individual record of Traveller Cheque in a table by incrementing the lower limit by one. This loop continues till we reach the upper limit. The stored procedurs take few noticable seconds to complete.

My questions are:
1) Is our approach correct ? If not, then what is the better approach ?
2) I am worried about the growth of table, worry is that with the passage of time the insert operation will become very slow. And i've never encountered this situation in the past. So, what is your suggestion ?
3) I am inserting indivdual record because we want to track individual Traveller cheque later when someone purchases it and want to keep record that who purchases which Traveller Cheque. As such there are also select and update operations involve in the table. And i am worried that these operation may take long time to complete because of the huge number of records entered from time to time.
4) The primary key of the table is integer. And this key is referred as a foreign key in other tables. I am worried that one day the maximum limit of integer will reach. So how will i tackle this situation ?




Imtiaz

AnswerRe: Inserting large records in SQL server Pin
vbkenya7-Nov-06 4:44
vbkenya7-Nov-06 4:44 
QuestionCreate Table Pin
ONeil Tomlinson7-Nov-06 3:25
ONeil Tomlinson7-Nov-06 3:25 
AnswerRe: Create Table Pin
vbkenya7-Nov-06 4:23
vbkenya7-Nov-06 4:23 
AnswerRe: Create Table Pin
PavanPareta7-Nov-06 21:55
PavanPareta7-Nov-06 21:55 
QuestionHow to have post Remainders?? Pin
Dileep.M7-Nov-06 2:48
Dileep.M7-Nov-06 2:48 
AnswerRe: How to have post Remainders?? Pin
Michael Potter7-Nov-06 5:38
Michael Potter7-Nov-06 5:38 
Questionneed help with MFC access to DAO database problem Pin
bloodwinner7-Nov-06 2:30
bloodwinner7-Nov-06 2:30 
AnswerRe: need help with MFC access to DAO database problem Pin
led mike7-Nov-06 5:00
led mike7-Nov-06 5:00 
QuestionAlter Database and subquery in Oracle Pin
xcavin6-Nov-06 22:15
xcavin6-Nov-06 22:15 
QuestionEXCEPTION_ACCESS_VIOLATION.???? wat error is this? Pin
campbells6-Nov-06 21:49
campbells6-Nov-06 21:49 
AnswerRe: EXCEPTION_ACCESS_VIOLATION.???? wat error is this? Pin
vbkenya7-Nov-06 4:08
vbkenya7-Nov-06 4:08 
Questionstored procedure error Pin
Saira Tanwir6-Nov-06 20:57
Saira Tanwir6-Nov-06 20:57 
AnswerRe: stored procedure error Pin
Russell Jones6-Nov-06 21:31
Russell Jones6-Nov-06 21:31 
GeneralRe: stored procedure error Pin
Saira Tanwir6-Nov-06 21:50
Saira Tanwir6-Nov-06 21:50 
GeneralRe: stored procedure error Pin
ChandraRam6-Nov-06 23:45
ChandraRam6-Nov-06 23:45 
GeneralRe: stored procedure error Pin
Saira Tanwir6-Nov-06 23:59
Saira Tanwir6-Nov-06 23:59 
GeneralRe: stored procedure error Pin
ChandraRam7-Nov-06 0:15
ChandraRam7-Nov-06 0:15 

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.