Viewing 6 posts - 31 through 36 (of 36 total)
Tools -> References in the VBA editor will show you the current libraries in use (including the ADO version number).
John
April 19, 2010 at 1:50 am
For named parameters, put:
cmd.NamedParameters = True
in your VB/VBA code. You need to be using ADO 2.6 or newer for this to work.
April 18, 2010 at 10:08 am
To pick up a return result set:
Dim rs As ADODB.RecordSet
Set cmd = New ADODB.Command
With cmd
.ActiveConnection = ActiveProject.Connection 'or your connection object
.CommandText = "dbo.usp_Whatever" 'Proc Name
.CommandType = adCmdStoredProc
.Parameters.Refresh
.Parameters("@BatchNo") = 1
.Parameters("@DateUpdated") =...
April 18, 2010 at 9:40 am
Is this an upgrade (on the same server) or are you moving to a different box?
Before even considering upgrading to SQL 2005, I'd upgrade this server to SQL 2000 SP4,...
May 20, 2008 at 12:25 pm
I'd also learn about running your SQL services under an account that is not a member of the Administrator group on your server.
If you're running SQL 2000 its not easy,...
May 20, 2008 at 9:52 am
PSPad (www.pspad.com)
Freeware MDI text editor with colour syntax highlighting for a huge number of formats, including SQL.
May 19, 2008 at 4:58 am
Viewing 6 posts - 31 through 36 (of 36 total)