-
Recent Posts
- Integrate Full data copy and CDC extract in SQL Server
- Automate jagent/Goldengate monitor agent in windows using powershell – create_ogg_agent_instance
- How to execute SQL jobs only on Primary server when Always-On is used as HA solution – Can you guess second solution?
- How to Safeguard executables you download/install from internet
- Azure SQL Database Copy / Add replication takes forever
Archives
- July 2022 (1)
- October 2021 (1)
- February 2021 (1)
- November 2020 (2)
- October 2020 (1)
- August 2020 (2)
- July 2020 (2)
- June 2020 (3)
- May 2020 (2)
- April 2020 (1)
- March 2020 (3)
- February 2020 (3)
- January 2020 (2)
- October 2019 (1)
- August 2019 (1)
- May 2019 (1)
- April 2019 (1)
- March 2019 (1)
- February 2019 (1)
- January 2019 (1)
- September 2018 (1)
- August 2018 (3)
- July 2018 (3)
- June 2018 (4)
- May 2018 (1)
- April 2018 (1)
- March 2018 (1)
- February 2018 (1)
- January 2018 (1)
- December 2017 (1)
- November 2017 (3)
- September 2017 (2)
- July 2017 (1)
- June 2017 (2)
- May 2017 (1)
- April 2017 (4)
- March 2017 (3)
- February 2017 (4)
- January 2017 (5)
- December 2016 (4)
- November 2016 (3)
- October 2016 (1)
- September 2016 (2)
- August 2016 (3)
- July 2016 (4)
- June 2016 (5)
- May 2016 (3)
- April 2016 (2)
- March 2016 (4)
- February 2016 (5)
- December 2015 (1)
- November 2015 (1)
- September 2015 (2)
- August 2015 (4)
- July 2015 (2)
- June 2015 (4)
- May 2015 (4)
- April 2015 (3)
- March 2015 (7)
- February 2015 (8)
- January 2015 (4)
- December 2014 (5)
- November 2014 (4)
- October 2014 (5)
- September 2014 (9)
- August 2014 (8)
- July 2014 (10)
- June 2014 (8)
- May 2014 (7)
- April 2014 (8)
- March 2014 (6)
- February 2014 (11)
- January 2014 (6)
Categories
Tags
- alwayson
- always on
- Availability Group
- Azure
- AzureSQL
- Backup
- command
- Database size
- data compare
- datetime
- DBAMP
- DMV
- elastic pool
- Error
- error log
- Excel
- Execution Plan
- Failover
- function
- install
- ipconfig
- job
- knowledge
- login
- merge
- microsoft
- monitor
- Mpp Viewer
- MSSQL
- Natively Compiled Stored Procedures
- netstat
- network
- package
- performance
- Permissions
- ping
- Powershell
- productivity
- query
- recursion
- reference
- reset
- restore
- runas
- Salesforce
- Script
- search
- SF_RefreshAll
- SF_Replicate
- Snapshot
- special characters
- sp_msforeachdb
- sql
- sql2014
- sql 2014 new features
- sql configuration
- sql mail
- SQL Server
- SQLServer
- Sql Server 2014 new features
- ssis
- ssms
- ssrs
- STATISTICS IO
- stored procedure
- substring
- tips
- traceflag
- tracert
- transaction
- trigger
- tsql
- useful link
- User Access
- Windows Server
Meta
Monthly Archives: July 2014
The external metadata column collection is out of synchronization with the data source columns.
One of my SQL Job failed with Error and the failure was due to an issue with SSIS Package. There are multiple reasons when this error occurs but I just share the approach and one of the examples: Do you … Continue reading
Declaring Variables in SQL – Declaration will take place during PARSING, not at Runtime
All SQL variable declarations will take place during parsing but not during Runtime. Let us try simple test to prove it! Let us try to declare a variable in a loop which runs for 5 times… There are no errors … Continue reading
Compare CHAR, NCHAR, VARCHAR, NVARCHAR
1. NCHAR, NVARCHAR -> Can Store UniCode Characters 2. CHAR, VARCHAR -> Cannot store all Unicode characters 3. Char, NCHAR -> Fixed Length while storing. If you declare as 100 Characters and store only 2 letters, it uses 100 Characters … Continue reading
Posted in SQL
Tagged CHAR, Concepts, NCHAR, NVARCHAR, SQL Server, String Length, VARCHAR
Leave a comment
Time Remaining for SQL task/ Percentage Compelte (Backup/ Restore)
When we take a backup or restore a database using command, we always like to track the progress. This SQL script helps you to do the same!
C Drive space issue – Tool for disk usage analysis
C Drive space issue on is one of the most common problem I have come across. Basic History/ Temp file deletion are most common tips to help and at one point we may need to do something beyond that, analysis … Continue reading
Posted in Uncategorized
Leave a comment
How to add new articles to existing Transactional Replication
Adding new articles is simple but following steps will avoid publishing snapshot of old articles. 1. Change allow_anonymous and immediate_sync to FALSE. 2. Include new articles ..a. SSMS -> Server/Instance -> Replication -> Local Publications ..b. Right click and select … Continue reading
Posted in Uncategorized
Leave a comment
Buffer Pool Extension – New feature in SQL Server 2014
Before diving into Buffer Pool Extension (BPE) details, it is worth taking a look at the Buffer Management to refresh your knowledge. You may find buffer management details @ http://technet.microsoft.com/en-us/library/aa337525(v=sql.105).aspx Buffer Pool Extension (BPE) can use nonvolatile storage devices (Ex: … Continue reading
Posted in SQL, SQL Query, sql2014
Tagged Buffer Pool Extension, SQL Server, Sql Server 2014 new features, STATISTICS IO
Leave a comment
PIVOT and UNPIVOT code sample
Writing PIVOT and UNPIVOR statements is tricky, I will explain with simple example for easy understanding. You may try on your own in 2 minutes • Create a table with Month, WeekDay, Subtotal • PIVOT table data to view in … Continue reading
Knowledge Share 2014-07
SYNONYM SYNONYM is used to reference an object in usable format. Syntax: create synonym UsableName for Server.DBName.SchemaName.TableName Note: The base object need not exist at synonym create time. SQL Server checks for the existence of the base object at run time. … Continue reading
Posted in knowledge, SQL, Windows Server
Tagged knowledge, msinfo32.exe, Server Architecture, SYNONYM
Leave a comment
Find and update the owner of SQL Job, Maintenance Plan
When we update Maintenance plan, ownership of the job will be changed back to plan owner (In my case it was inactive account resulting job failure). This is a known bug in SQL Server 2005 and SQL Server 2008. (Ref: … Continue reading
Posted in Productivity, Script, SQL, SQL Query
Tagged job, maintenance plan, package, SQL Server, ssis, tsql
Leave a comment