Viewing 15 posts - 1 through 15 (of 190 total)
--First Day of this Month
select DATEADD(mm, DATEDIFF(mm,0,getdate()), 0)
vamsikrishnacheruku (3/10/2014)
1/jan/2014, monday
...
March 10, 2014 at 11:57 am
Group? I assume it is windows security group in AD.
We use "Be made using the login's security Context" without any issue..... Or you may forget to create SPN?
February 25, 2014 at 12:35 pm
raulggonzalez (1/17/2014)
Stuart Davies (1/17/2014)
raulggonzalez (1/17/2014)
I have a number of offline databases in one of my servers and...
February 4, 2014 at 11:45 am
kevinsql7 (7/5/2012)
For SQL Server 2008 R2 SP 1, I have found the...
July 5, 2012 at 2:19 pm
I usually SELECT those "to-be-deleted" rows to check first.... if nothing wrong, then delete.
July 5, 2012 at 1:30 pm
rfr.ferrari (7/5/2012)
maybe not!!!!this hotfix is most specific to solve this issue!!!
I don't think Microsoft fixed this issue with the hotfix. We had a SQL2005 with SP2 still having this issue.
After...
July 5, 2012 at 1:21 pm
Welsh Corgi (6/22/2012)[/bI could exclude the sys.schemas table and use the Schama_Name Function on Schema_Id.
My $.02: The SCHEMA_NAME function can only be used in current database. Using sys.schemas will be...
June 25, 2012 at 3:13 pm
As others mentioned, we can only guess.
From your query, why you use "UNION" and "DISTINCT" at the same time? You can use "UNION ALL" and "DISTINCT". It may save you...
May 2, 2012 at 1:14 pm
It will create the stat automatically after creating an index.
If no parameter after sp_updatestats, it will update ALL the stats within that database.
May 1, 2012 at 11:01 pm
Another point is if you drop the sp, the associated permission is dropped as well. You have re-grant. 😉
April 19, 2012 at 2:44 pm
insert into Case_Review
values
(220, 1, 'Proposed', '2012-04-17 12:01'),
(220, 2, 'Proposed', '2012-04-17 12:02'),
(220, 3, 'Proposed', '2012-04-18 14:37');
April 18, 2012 at 3:55 am
Here is the error message:
Failed to acquire connection "Local server connection". Connection may not be configured correctly or you may not have the right permissions on this connection.
---- Figure out...
April 13, 2012 at 11:58 am
My 2c:
Yes, it is possible. And, it is called Merge (?)
What I can think of is that every branch has its own locationID and unique. So, when you merge...
April 13, 2012 at 11:46 am
Mike01 (4/10/2012)
unfortunately it's a push subscription
Even if it is a push subscription, you still can query the job history on Distributor, like,
SELECT a.*
FROM msdb.dbo.sysjobhistory a
INNER JOIN msdb.dbo.sysjobs b ON a.job_id...
April 11, 2012 at 2:44 pm
Here is the code (not exactly) for you start with:
SELECT @i = max(dbo.val(RowNum)), @Date = Max(Real_Date_Time)
FROM tblMedsOverrides
INSERT INTO TempTblCode4Overrides
SELECT CAST(@i + ROW_NUMBER OVER (ORDER BY a.Real_Date_Time) AS nvarchar) + 'M'...
April 9, 2012 at 6:57 pm
Viewing 15 posts - 1 through 15 (of 190 total)