Viewing 15 posts - 301 through 315 (of 372 total)
Instead of MkDir consider using the methods available in My.Computer.FileSystem.
Reference:
How to: Determine if a Directory Exists in Visual Basic
How to: Create a Directory in Visual Basic
If you stay with...
March 7, 2008 at 9:44 am
I've seen that that behavior before and it was an application issue;in query analyzer it took less than a second to return the results, from the application it took over...
March 6, 2008 at 8:13 pm
Check that the scope of the variable 'archivefolder' is set to the package. You'll probably have to modify the variable or have an additional one that can be used...
March 6, 2008 at 8:27 am
First step is to add a package variable. Then in the Script Task add the new variable name to the ReadWriteVariables property of the task. The variable is...
March 5, 2008 at 3:25 pm
Barkingdog,
You have a couple options for getting the variable placed in the body. One, leave the MessageSourceType as Direct Input and add an expression that sets MessageSource to the...
March 3, 2008 at 7:50 pm
Error: Failed to lock variable "user::varresults" for read/write access with error 0xC0010001 "The variable cannot be found….
Most likely the variables haven't been defined or aren't scoped appropriately. No values need...
March 2, 2008 at 12:30 pm
This Control Flow will place the query results in the body of the message and deliver only if it contains records.
[Execute SQL Task] ---> [XML Task] -f(x)-> [Send Mail Task]
1)...
March 1, 2008 at 8:46 am
Using a linked server and configuring it to use alternate credentials might work; use OPENQUERY instead of OPENDATASOURCE in that case.
The "NT Authority\ANONYMOUS" failed login looks like an...
February 27, 2008 at 4:37 pm
Setting the ResultSet to XML in the Execute SQL Task is another option that would make it easy to use the results in a Script Task.
Just add "FOR XML AUTO"...
February 25, 2008 at 8:10 pm
Open up SQL Profiler and use the Replay trace template, filtering on your DatabaseID, before you change your identity column in EM or SSMS. That will show you...
February 25, 2008 at 7:46 am
In the SSIS Data Flow you would use a Flat File Source. Configure the sources connection manager to use the "Ragged right" format and mark where the columns should...
February 25, 2008 at 7:10 am
In addition to dynamic SQL you could also make use of SQL's ability to do short-circuit evaluation.
In the following example @columns= is evaluated first. Only if it's true will...
February 23, 2008 at 5:58 pm
Jason,
Here's an example using SQL Compare 6 and SQLCMD to do the refresh.
Scheduling could be done with Task Scheduler and the appropriate credentials.
REM TestingRefresh.cmd
SQLCMD -S TestServer-E -Q "ALTER DATABASE TestingDB...
February 22, 2008 at 11:04 am
No, the DSN is a logical name that holds which driver and server to connect to. The DSN name you see in your IDC file just has to match...
February 21, 2008 at 4:15 pm
Can you login to the SQL server using Query Analyzer with the 'ReadOnlyIntranet' username and run the query that's in your IDC file?
Another thing to check is that the website...
February 21, 2008 at 11:34 am
Viewing 15 posts - 301 through 315 (of 372 total)