Viewing 15 posts - 8,461 through 8,475 (of 8,753 total)
SSMS is neither the appropriate nor the intended interface for such restrictions.
😎
April 28, 2014 at 12:34 am
Jeff Moden (4/27/2014)
Eirikur Eiriksson (4/8/2014)
hisakimatama (4/8/2014)
April 27, 2014 at 10:01 pm
LutzM (4/27/2014)
The easiest is to transfer the file to a different folder once it is processed.
Another option would be to store the last...
April 27, 2014 at 6:30 am
Duplicate post, already answered here.
😎
April 26, 2014 at 8:31 pm
The DATEDIFF function is your friend here
😎
SELECT
isLocked
,LastLockoutDate
,currentDte
,DATEDIFF(MINUTE,LastLockoutDate,currentDte) AS DIFF_MINUTE
FROM @tAccount
Result
isLocked LastLockoutDate ...
April 26, 2014 at 11:57 am
Luis Cazares (4/26/2014)
Maybe a free reference would be better. 😉http://www.mssqltips.com/sqlservertip/1675/security-issues-when-using-aliased-users-in-sql-server/
Ooops:ermm: sorry about that
and thanks Luis!
😎
April 26, 2014 at 10:38 am
IMHO this is one way of generating a dynamic sql query but I have some doubts. It will certainly not produce reusable plans nor benefit from the usage of sp_executesql....
April 26, 2014 at 9:53 am
I believe you will find the answer here
😎
Note that sysusers is depreciated, use sys.database_principals instead.
April 26, 2014 at 9:37 am
TJT (4/26/2014)
OK thanks, this is what I was thinking, but wanted confirmation on this.Any other thoughts on this are appreciated
Kind of a "must read"
April 26, 2014 at 8:06 am
greeshatu (4/26/2014)
How can I update it
Complete listing using the MERGE statement
😎
USE tempdb;
GO
CREATE TABLE Table1(
[ID] int,
[Version] int,
...
April 26, 2014 at 7:59 am
rohanbajaj90 (4/26/2014)
This link talks about nested transactions. But I don't have any nested transactions. They are normal.
Sorry, seams like I jumped the gun here:-D
I formatted the code and added few...
April 26, 2014 at 7:27 am
TJT (4/26/2014)
I am trying to imagine...
April 26, 2014 at 6:40 am
Just a thought, how would you use the SSMS message? If you need the count of records affected you can use the output clause or simply either @@ROWCOUNT or ROWCOUNT_BIG()
😎
DECLARE...
April 26, 2014 at 6:18 am
April 26, 2014 at 6:05 am
Viewing 15 posts - 8,461 through 8,475 (of 8,753 total)