Viewing 15 posts - 16 through 30 (of 61 total)
Maybe can use this after your query:
If @@rowcount = 0
Begin
SET @tableHTMLA = 'No failed jobs reported'
End
May 3, 2016 at 8:02 am
I think this will be work:
EXECUTE ('create view dbo.v_test as select 1 as d') AT [linked_server_name]
May 3, 2016 at 7:52 am
Hi!
- Check locks: run query with nolock hint, and check running time
- Check hardware performance (CPU, Disk, Memory) under query running
July 7, 2013 at 2:47 am
Hi!
J Livingston SQL what thinks about this query?
SELECT DISTINCT ClientId
FROM dbo.TPC
WHERE ClientId NOT IN (
SELECT DISTINCT ClientId
FROM dbo.TPC
WHERE ActivityId = 72 AND CreateDate > GETDATE()-60
union
SELECT DISTINCT ClientId
FROM...
June 1, 2013 at 10:15 am
Exapmle: we're monitoring MS replication with profiler, but it don't use identity reseed. It use always simple insert.
May 14, 2013 at 1:43 pm
How do you know that?
I'm managing more Microsoft replication.
But Microsoft replication is slow and inflexible. Our replication program is fast and flexible (example: maximum 0,5 sec replication latency, more...
May 14, 2013 at 1:22 pm
Ok, thanks!
But the Microsoft replication is knows insert without identity reseed.
May 14, 2013 at 12:47 pm
It is a long story.
I have two SQL servers and databases (same databases are on two servers).
These databases are "multi master" (similar as peer-to-peer or merge) replication with a...
May 14, 2013 at 11:55 am
Thanks for replay!
After inserting 1000 in identity column, what kind of value you would expect for the subsequent insert?
id = 2
It cannot start from 1, otherwise it may end up...
May 14, 2013 at 11:21 am
Please check this code:
select
a.*,
STUFF((SELECT ', '+name FROM bb WHERE colorid = a.colorid FOR XML PATH('')) , 1 , 1 ,...
May 4, 2013 at 6:57 am
ALTER TABLE dbo.tablename
ALTER COLUMN column_name decimal(19, 6)
And how to check the table re-creation?
March 20, 2013 at 1:52 am
Is there enough memory in your server?
March 19, 2013 at 3:29 am
Hi!
1.) Management Studio => Tools => Options => Designers => "Click the Prevent saving changes..." (Checkbox is on)
2.) Search your table on the management studio => Right click => Design
3.)...
March 19, 2013 at 1:51 am
Please check this code:
if exists (select OrderDate from Order) = CONVERT(VARCHAR(20), Getdate(), 101)
Begin
...some code...
End
February 22, 2013 at 6:54 am
Viewing 15 posts - 16 through 30 (of 61 total)