Archive for February, 2017
sys.sysobjvalues
Posted by Simon Cho on 02/23/2017
Posted in Common | Tagged: sysobjvalues, with Encryption | Leave a Comment »
SQL Angeles Meeting 2/14 – Los Angeles
Posted by Simon Cho on 02/15/2017
SQL Angeles,
We had a meeting at 2/14, Los Angeles.
Here are the presentation file and Demo script.
Topic : Transaction Management and the Transaction Log
SQLPassNew February : sqlpass_news_chapter-deck-february-2017-2
SQL Angeles is the Local Chapter based on Los Angeles area.
Our community is for Korean SQL people.
So, we do speak in Korean during the presentation.
This time is the first try with Skype Business Online.
We had 5 people from Local and 9 people joined in Skype Business and shared the session together.
Thank you very much for participated in.
Here is the detail information how to register and join us.
Posted in Common | Tagged: SQL angeles, SQLAngeles.com | Leave a Comment »
Delayed Durability
Posted by Simon Cho on 02/14/2017
- ALTER DATABASE SET DELAYED_DURABILITY = {option}
- Disabled –Normal behavior durability guaranteed.(Default)
- Allowed –Allowed at the DB Level, Transaction has to specify durability options, default is a durable transaction.
- COMMIT TRAN……. WITH (DELAYED_DURABILITY=ON)
- FORCED –Changes default durability for the DB to “delayed”. Can be useful for Applications bottlenecked on Log IO, that can tolerate some Data loss on a failure.
https://msdn.microsoft.com/en-us/library/dn449490(v=sql.120).aspx
Posted in Common | Tagged: Delayed Durability | Leave a Comment »
parameter sniffing recompile options
Posted by Simon Cho on 02/06/2017
Posted in Common | Tagged: parameter sniffing, recompile | Leave a Comment »
SQLCMD mode in SSMS
Posted by Simon Cho on 02/01/2017
SQLCMD mode in SSMS
Here are some commands very useful. Things help to deploy complicated queries.
:CONNECT localhost
:setvar DBA “DBA”:on error exit
GOUSE [$(DBA)]
go
SELECT DB_NAME()print ‘abc.sql – Simon’
:r c:\temp\abc.sql
GO
print ‘abcdef.sql – Simon’
:r c:\temp\abcdef.sql
GO
Posted in Common | Tagged: SQLCMD MODE | Leave a Comment »