Viewing 15 posts - 4,966 through 4,980 (of 7,191 total)
SSIS isn't free, but it comes with the product, so it won't cost you anything extra to write a package that will connect to each server and get the information...
November 9, 2011 at 8:52 am
Good work, Cadavre, especially generating all those random postcodes! The following are also legal postcodes, and I've checked that your code also works with them:
'N12 4DB'
'SW1A 4DB'
'W1B 4DB'
'L1 4DB'
'LS1...
November 8, 2011 at 7:33 am
I'm afraid I don't understand what the difficulty is. Just give the SQL Server Agent service account the necessary permissions on the share and everything should work.
John
November 8, 2011 at 6:39 am
Yes, we have no DDL or sample data, so it's difficult to visualise and impossible to test. However, are those nested statements necessary? This should work:
case when bh_type...
November 8, 2011 at 6:33 am
You should be able to do everything with UNCs. You haven't said what operations you'll be carrying out on the folders, so I'm just guessing, but if you keep...
November 8, 2011 at 6:13 am
Yes, you can do this. Read about package configurations. You can take any property of the package (for example the location of the text file to be read...
November 7, 2011 at 6:48 am
OK, then if you absolutely need to use a database function, you'll need to use an Execute SQL task to run it and get the result into a variable and...
November 4, 2011 at 9:52 am
You don't need to incur the expense of connecting to a database just to get the current date and time, and even if you do, you don't need a user...
November 4, 2011 at 9:27 am
If your users are attempting to see the new columns in SSMS, they need to refresh first before they can see them. This one has caught me out before!
John
November 4, 2011 at 9:08 am
Is the user defined function a SQL function? What parameter(s) does it take, if any? You'll need to connect to the database in order to evaluate it before...
November 4, 2011 at 9:03 am
Yes, you can have two foreign key constraints on tblWorkedHours - one referencing tblClients and one referencing tblTasks.
John
November 4, 2011 at 8:15 am
Can you not just leave the client column NULL in tblWorkedHours where there is no client involved?
John
November 4, 2011 at 7:01 am
Nithin
Can it be as simple as this:
SELECT TOP 1 * FROM MyTable
WHERE MyColumn > 4000
ORDER BY MyColumn ASC
John
November 4, 2011 at 6:53 am
If you run that code in a query window, you'll get the full output and you'll be able to see which database is causing the problem.
John
November 4, 2011 at 4:09 am
I think you'd be best investigating converting your variable to datetime and then using the DATEPART function. But, if you insist on doing it as above, something like this...
November 4, 2011 at 2:51 am
Viewing 15 posts - 4,966 through 4,980 (of 7,191 total)