Viewing 15 posts - 1 through 15 (of 80 total)
Maybe this'd do it. Thanks for your help one and all!
declare @C int
WHILE (1=1)
BEGIN
SET @C = (select count(*) FROM sys.dm_exec_requests req
CROSS APPLY sys.dm_exec_sql_text(sql_handle) AS sqltext
where req.session_id...
October 12, 2015 at 9:05 am
Thanks all - but I don't want to kill any running queries, I'd rather avoid them. I think this'd be doable bearing in mind the periodic server activity. What's the...
October 12, 2015 at 6:47 am
Thanks Lowell, that's a useful snippet and works great.
Regards, Greg.
September 21, 2015 at 6:08 am
I've given up with openquery, I think there might be a problem with the ODBC driver for SQLite.
Am working around this using command line export of preformatted SQL INSERT statements...
September 15, 2015 at 7:54 am
Dear All,
Wrt the wrapped in Datazen product - I know this is to be given free for current Enterprise customers, but am wondering if anyone knows if it will be...
August 5, 2015 at 10:39 am
Just wondering if anyone has worked out how to control foreground AND background colours for cells in a formatted table?
In essence to combine these:
'font/@color' = case...(set up to return color...
April 27, 2015 at 4:05 am
Probably several years too late, but I've just been working in the same problem...
Assuming your Excel is set up with some report header information, then when you try to select...
January 22, 2015 at 9:14 am
Ah, because we receive a DB backup daily over SFTP from a disconnected data provider - another company.
July 17, 2014 at 12:10 am
Thanks Sean,
That'd be my best bet I think, a very fast cutover with hardly any down time. Many thanks.
Regards,
Greg.
July 16, 2014 at 8:12 am
Thanks Gail,
I checked and this was on...a copy of the DB already exists on the reporting server, we're replacing it though with a fresh copy.
July 16, 2014 at 2:52 am
OK, thanks for confirming that. I understand the EE position on filegroup restore better now. Didn't appreciate IFI would make a difference here, so will investigate.
Cheers, Greg.
July 16, 2014 at 1:24 am
Thanks for this. The query is quite simple, so I'm going to do it like this:
declare @route int
set @route = 2
if @route = 1
begin
select cast(1 as decimal(10,2)) as greg
end
if...
June 10, 2014 at 9:45 am
Thanks Chaps,
The data is ultimately passed back to the front end as a string, it'll look like this, either
10:5:2
or
12.50:16.50:10.25
I need to format each number before joining them in a...
June 10, 2014 at 9:17 am
I don't actually know as in my results set, there WERE no errors. So went back to basics and scanned the entire database for errors that failed the isdate() test....
June 5, 2014 at 7:38 am
Viewing 15 posts - 1 through 15 (of 80 total)