Viewing 15 posts - 1,441 through 1,455 (of 13,469 total)
i think you also need to set connectiontimeout as well.
Each object can have it's own time timeout: SQLBulkCopy , SQLCommand, and SQLConnection all have seperate timeouts, for example.
so if you...
October 15, 2015 at 6:56 am
in my case, we have a "reporting" database the end users have access to; but sometimes they want the freshest data.
they don't have access to production, so my simple solution...
October 15, 2015 at 6:39 am
you can create a stored procedure that does EXECUTE AS OWNER, which will backup, restore etc.
in my case, I have end users that can do excel or a web...
October 14, 2015 at 2:42 pm
i've done exactly that with plain old FOR XML and sp_send_dbmail; why do you need to complicate it with powershell?
here's an old snippet:
Declare @HTMLBody varchar(max),
...
October 14, 2015 at 11:25 am
My advice would be to take the better paying job right now. no doubt.
once you are at a higher rate, it is very , very doubtful that you would find...
October 14, 2015 at 8:21 am
you need a geolocation lookup table with geo coordinates for every address; do you have that?
are you going to call a google web service for it instead?
October 13, 2015 at 1:50 pm
if you have linked servers set up, then yes, it's pretty easy:
SELECT * FROM
[Development].master.sys.server_principals T1
INNER JOIN [UAT].master.sys.server_principals T2
ON T1.name = T2.name
WHERE T1.sid <> T2.sid
if you don.t then you need to...
October 12, 2015 at 9:37 am
so the column containing the HTML is nvarchar(max), i assume, and you are going to spin off the contents to files?
with the schema of the table, we could give you...
October 12, 2015 at 9:32 am
just for fun, i grabbed the Ashley Madison database bittorrent, which is in the form of MySQL dumps, brought it into MYSQL, and then tried to import it into SQL...
October 12, 2015 at 9:22 am
if they need access up to the last second, i'd do this, but it takes twice as much disk space:
restore the production copy to the ReportServer as a different name....
October 12, 2015 at 6:06 am
rajemessage 14195 (10/10/2015)
some times i need to take db in single user mode , which can be done
using following
use master
go
alter database db_name set single_user with...
October 11, 2015 at 9:16 am
SQLPain (10/7/2015)
I have added linked Server S with report server. Can you please give an example of what would be considered as a fully qualified code.
Also when I write the...
October 7, 2015 at 9:09 am
since it sounds like you don't wantto remove permissions, but to prevent it from running with all default parameters?
can you modify the stored proc itself?
that's the low hanging fruit,...
October 6, 2015 at 11:08 am
maynardsammons (10/6/2015)
Thanks for the input!Service account used by SQL Server Agent has the same permissions that my personal account has, as far as I can tell.
is the destination a network...
October 6, 2015 at 6:40 am
mahi123 (10/6/2015)
Thank you for yours respond , but my tempdb data file is already unrestricted growth only
then you are out of disk space on the drive? you might need to...
October 6, 2015 at 5:40 am
Viewing 15 posts - 1,441 through 1,455 (of 13,469 total)