Click here to Skip to main content
15,890,579 members
Home / Discussions / Database
   

Database

 
AnswerRe: Copy Databases objects Pin
Wendelius8-Apr-11 4:19
mentorWendelius8-Apr-11 4:19 
AnswerRe: Copy Databases objects Pin
R. Giskard Reventlov8-Apr-11 4:23
R. Giskard Reventlov8-Apr-11 4:23 
AnswerRe: Copy Databases objects Pin
Corporal Agarn8-Apr-11 6:44
professionalCorporal Agarn8-Apr-11 6:44 
Questionhow can i sort database Pin
ace3008-Apr-11 3:25
ace3008-Apr-11 3:25 
AnswerRe: how can i sort database Pin
Luc Pattyn8-Apr-11 3:43
sitebuilderLuc Pattyn8-Apr-11 3:43 
AnswerRe: how can i sort database Pin
David Mujica8-Apr-11 4:13
David Mujica8-Apr-11 4:13 
AnswerRe: how can i sort database Pin
Ravi Sant14-Apr-11 21:56
Ravi Sant14-Apr-11 21:56 
QuestionAccess / ADO Performance Pin
mjackson117-Apr-11 18:25
mjackson117-Apr-11 18:25 
We have a legacy Access DB that is located on a file server. We use Excel VBA to manipulate the database and are having performance issues.

There is a query (stored procedure) in the DB that zeros out data in a large table (~250,000 rows) in preparation for the day's P/L. If I log directly into the DB, I can run the procedure in a second or two. If I execute the procedure in VBA, it takes several minutes and creates a 68 MB temporary file on the local computer.

I tried begin/commit/rollback transactions but that had no effect. I also tried client and server side cursors. Very little difference. I'm guessing it is saving undo information locally. Is there a switch to prevent this?

Is there something I am missing here?

Thanks very much,

Mark Jackson


strCnn = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=S:\Database\database.mdb;" & _
"Jet OLEDB:System Database=s:\database\security.mdw;" & _
"User ID=xxx;Password=xxx;"
Set conn = New ADODB.Connection
conn.ConnectionString = strCnn
conn.Open
conn.CommandTimeout = 0
Set cmd = New ADODB.Command
cmd.ActiveConnection = conn
cmd.CommandTimeout = 0

' Set Active values to NULL
cmd.CommandType = adCmdStoredProc
strCmd = "UpdateActiveSetNullValues"
cmd.CommandText = strCmd
cmd.Execute Options:=adExecuteNoRecords
AnswerRe: Access / ADO Performance Pin
Wendelius7-Apr-11 19:20
mentorWendelius7-Apr-11 19:20 
GeneralRe: Access / ADO Performance Pin
mjackson118-Apr-11 2:28
mjackson118-Apr-11 2:28 
AnswerRe: Access / ADO Performance [modified] Pin
Eddy Vluggen8-Apr-11 2:53
professionalEddy Vluggen8-Apr-11 2:53 
GeneralRe: Access / ADO Performance Pin
mjackson118-Apr-11 3:34
mjackson118-Apr-11 3:34 
GeneralRe: Access / ADO Performance Pin
Wendelius8-Apr-11 4:24
mentorWendelius8-Apr-11 4:24 
AnswerRe: Access / ADO Performance Pin
Eddy Vluggen8-Apr-11 0:29
professionalEddy Vluggen8-Apr-11 0:29 
GeneralRe: Access / ADO Performance Pin
Corporal Agarn8-Apr-11 1:29
professionalCorporal Agarn8-Apr-11 1:29 
Answershort term fix Pin
David Mujica8-Apr-11 4:09
David Mujica8-Apr-11 4:09 
AnswerRe: Access / ADO Performance Pin
jschell8-Apr-11 7:50
jschell8-Apr-11 7:50 
GeneralRe: Access / ADO Performance Pin
mjackson118-Apr-11 9:41
mjackson118-Apr-11 9:41 
GeneralRe: Access / ADO Performance Pin
jschell8-Apr-11 12:37
jschell8-Apr-11 12:37 
AnswerRe: Access / ADO Performance Pin
mjackson1112-Apr-11 5:55
mjackson1112-Apr-11 5:55 
QuestionSSRS Question Pin
Kevin Marois7-Apr-11 13:50
professionalKevin Marois7-Apr-11 13:50 
AnswerRe: SSRS Question Pin
Wendelius7-Apr-11 19:12
mentorWendelius7-Apr-11 19:12 
GeneralRe: SSRS Question Pin
Kevin Marois8-Apr-11 4:49
professionalKevin Marois8-Apr-11 4:49 
GeneralRe: SSRS Question Pin
Wendelius8-Apr-11 5:01
mentorWendelius8-Apr-11 5:01 
Questionchanging column tyoe in live database[self answered] Pin
gavindon6-Apr-11 3:27
gavindon6-Apr-11 3:27 

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.