Skip to content
Code Solution
  • Home
  • Technology
    • Android
    • AngularJS
    • ASP.NET
    • Computer Enthusiasts
    • Database Administrators
    • Graphic Design
    • HTML
    • Information Security
    • Laravel
    • Magento
    • MySQL
    • Node.js
    • PHP
    • Python
    • ReactJS
    • Salesforce
    • Ubuntu
    • Unix & Linux
    • Webmasters
    • WordPress
  • Magento Blog
  • Privacy Policy

Home » sql-server-2016

sql-server-2016

DateTime2 and Page Life Expectancy (PLE)

August 7, 2022 by cs_admin

As I understand it, when you define a column on a table you define its precision. This precision takes 1 byte and is stored at the column level. If you use a precision of 5 or more, then a DateTime2 column will take 8 bytes per row. (The precision is not stored at the row level.)

Categories Database Administrators, Technology Tags datetime, page-life-expectancy, sql-server, sql-server-2016 Leave a comment

What does it mean to reach a stable point during the execution of a job?

August 7, 2022 by cs_admin

Trying to use sp_stop_job to stop a simple job that inserts data on a table when 100 rows were inserted I got confused to see the table end up with more than 100 rows every time.
Under the Remarks section of the sp_stop_job doc it says:

Categories Database Administrators, Technology Tags jobs, sql-server, sql-server-2016 Leave a comment

dateadd in the where clause – how can I avoid a full scan in this particular situation?

August 7, 2022 by cs_admin

I have the following query:

Categories Database Administrators, Technology Tags execution-plan, index, query-performance, sql-server, sql-server-2016 Leave a comment

Why are the majority of cached plans missing from sys.dm_exec_query_stats?

August 7, 2022 by cs_admin

I’m trying to understand some execution plan caching metadata on a SQL Server 2016 SP3 system, and I can’t reconcile what I’m seeing with the docs.

Categories Database Administrators, Technology Tags execution-plan, plan-cache, sql-server, sql-server-2016 Leave a comment

upgrading sql version with ssis and ssrs on that server

August 7, 2022 by cs_admin

If I upgrade a SQL server 2016 STD to ENTERPRISE and that server has the following services installed: SSIS and SSRS
can I just upgrade the version of the SQL and it will automatically upgrade the SSIS and SSRS on that server or do I need to take additional steps?

Categories Database Administrators, Technology Tags sql-server, sql-server-2016 Leave a comment

SET SINGLE_USER WITH ROLLBACK IMMEDIATE only disconnects sessions when account is a database user

August 7, 2022 by cs_admin

The following code creates a user that is able to restore a database:

Categories Database Administrators, Technology Tags connections, restore, sql-server-2016 Leave a comment

How to avoid deadlocking in a stored procedure with SERIALIZABLE isolation level, INSERTs, UPDATEs, and DELETEs

August 7, 2022 by cs_admin

I’m having trouble with deadlocks in a stored procedure.

Categories Database Administrators, Technology Tags deadlock, locking, sql-server, sql-server-2016, stored-procedures Leave a comment

Can ransomware embed itself in to a SQL backup file?

August 7, 2022 by cs_admin

One of the best protections against ransomware is to back up all of your database files to a completely separate system. Which we have done.

Categories Database Administrators, Technology Tags security, sql-server, sql-server-2016 Leave a comment

How does SQL estimate the number of rows in a less than < Predicate

August 7, 2022 by cs_admin

I have been doing some testing to try to better understand how SQL Server uses a histogram to estimate the number of rows that will match an equality predicate and also a < or > predicate

Categories Database Administrators, Technology Tags cardinality-estimates, database-internals, sql-server-2016, statistics Leave a comment

Find Which Queries will be affected by Proposed Change to CTFP

August 7, 2022 by cs_admin

The Cost Threshold for Parallelism Setting on one of our servers is set at what is generally considered too low (15) and we are considering increasing to 50 in hope to reduce CPU as it is becoming high.

Categories Database Administrators, Technology Tags parallelism, performance, performance-tuning, plan-cache, sql-server-2016 Leave a comment
Post navigation
Older posts
Page1 Page2 … Page22 Next →

Recent Posts

  • Top 5 Programming Languages to Learn for Beginners in 2022!!
  • Why would you ever use asp.net’s ViewState storage object over the Session storage object?
  • Generate JSON with property names that include dot using SELECT FOR JSON
  • insertion in a table of objects with nested table in oracle
  • Compare occurence of chars in PostgreSQL string
  • How to fix unicode REPLACEMENT CHARACTER � in postgres database
  • Junction table or denormalize?
  • Mariadb Benchmarking – Low transaction and query per second
  • SQL Server / SSMS taking up lots of disk space
  • SQL Server: Is it worth checking for change in a field before the update?

Tags

.net adobe-illustrator ajax android angularjs apex asp.net asp.net-mvc authentication bash c# command-line css database eloquent encryption express html java javascript jquery json laravel laravel-4 laravel-5 lightning-web-components linux magento2 marketing-cloud mongodb mysql node.js pandas passwords performance php postgresql python reactjs sql sql-server tls typescript windows windows-7
© 2023 Code Solution • Built with GeneratePress