Viewing 15 posts - 1 through 15 (of 38 total)
James' answer is what you should use for the connection string.
sDBConnectionString = "data source=" & sDBServer & ";initial catalog=" & sDBName & ";persist security info=False;workstation id=" sWorkstationID...
November 27, 2005 at 2:29 am
It is a MAPI error not a file access error.
Just create a MAPI profile for the SQL Server Agent Account. To do that, open a Windows session using the Account used by...
October 8, 2005 at 5:00 am
You dont even need a global variable.
------------------------------------------------------------
Update TT set ff=xx Where ....
IF @@ROWCOUNT=0
RAISERROR 60001 'Error message'
------------------------------------------------------------
When you raise an error in your stored procedure, the sql task...
October 1, 2005 at 4:37 am
Changing the destination database on the connection properties only changes the intial catalog (default). Transformation tasks use the fully qualified table names and you are stuck with database1.dbo.table1 when your...
August 1, 2005 at 4:10 am
And dont forget the
set nocount on
at the start of the PS.
HABIB.
July 21, 2005 at 8:10 am
After you run a DDL script in query analyzer you may need to refresh the tree in Query Analyzer Object Browser to the left of the screen.
Triggers will be found...
July 21, 2005 at 8:00 am
To be able to check permissions you need to establish a connection (other than the actual user's connection) to the database via a user with the role "db_securityadmin" or be a...
July 21, 2005 at 7:56 am
Use the "Execute Process Task" with the following command :
"c:\Program Files\Microsoft Office\Office11\msaccess.exe /compact /repair"
PS. Parameters can be localted in the parameters field.
HABIB.
July 21, 2005 at 7:41 am
The simplest way of doing it is to launch a Win32 utility called :
DTSRUNUI.EXE
You will find it in Program Files\Microsoft Sql Server\80\Tools\binn
It has an "Advanced" button that will allow...
July 21, 2005 at 7:25 am
I agree. Roles are the best way to go. You can further look into using an application role.
define an application role for every application that will be accessing the database....
July 6, 2005 at 10:00 am
It is only possible if you restrict access to your data through views or stored procedures.
With stored procedures you can begin by asking who the user is. The system function...
July 3, 2005 at 12:54 pm
Sorry, Iforgot the line :
DTSDestination("col009")=MyDate
before the function return
July 3, 2005 at 12:37 pm
This should do it :
MyDate = DTSSource("Col009")
if isnull(MyDate) then
MyDate = Null
Else
If Not isDate(MyDate) Then
MyDate = Null
Else
MyDate = Mid(MyDate, 1, 4) & Mid(MyDate, 5,2) & Mid(MyDate,...
July 3, 2005 at 12:35 pm
Staging is trhe best strategy for this situation. You must be careful however if you are populating a fact table in a datawarehouse. Updating records in a huge fact table can be...
July 3, 2005 at 12:21 pm
I Think you restored an old version of your database.
In fact, when you do a backup, you have the option of adding or replacing existing backup copies on the...
June 10, 2005 at 11:45 am
Viewing 15 posts - 1 through 15 (of 38 total)