Forum Replies Created

Viewing 15 posts - 121 through 135 (of 1,248 total)

  • Reply To: Nullable vs Non-Nullable Columns and Adding Not Null Without Downtime in PostgreSQL

    An issue that can arise with non nullable columns is that if at a later time you realise you need them to be null after all , due to some...

    ----------------------------------------------------

  • Reply To: Schedule Jobs on a Clustered SQL Server

    Thanks for sharing. If you use Ola Hallengren's scripts for Jobs related to backups and other maintenance, they do the check internally so you dont need to do this check on...

    ----------------------------------------------------

  • Reply To: Using pre-commit to prevent simple mistakes

    Much appreciated , thank you for the information.

    ----------------------------------------------------

  • Reply To: Using pre-commit to prevent simple mistakes

    Thank you for the interesting article. I saw the SQL patterns sought had to do mainly with formatting. Woud any of this cause an issue with a git commit ?

    Would...

    ----------------------------------------------------

  • Reply To: The Best and Worst Tech of 2022

    I always had suspicion on the  covid statistics provided by China these last few years. Even if the hard line lockdowns were as effective as claimed, then that can mislead....

    ----------------------------------------------------

  • Reply To: Ethical Hacking Tutorial

    The term 'Hacker", derived from 'Hack', began at MIT in the 1950's. These students were fascinated how a change in one part of an electrical system affected another. It wasn't...

    ----------------------------------------------------

  • Reply To: Error handling with a called stored procedure

    Phil Parkin wrote:

    Jeffrey Williams wrote:

    It might be a better option - if using TRY/CATCH - to THROW the error instead of using RAISERROR.

    I'd be interested to hear your reasoning.

    This is the main...

    ----------------------------------------------------

  • Reply To: How Can I let Insert, update and delete sql statement work in a user-defined fun

    Lookup the MERGE command.

    Functions perform operations in a row by row manner as opposed to a set at a time. This is slow and not needed.

    I am not sure how...

    ----------------------------------------------------

  • Reply To: How to remove unallocated space after partitioning

    ScottPletcher wrote:

    It may fragment some indexes and not others.  You certainly don't want to automatically rebuild every index.  Also, rebuild from smallest to largest of the indexes that do need...

    ----------------------------------------------------

  • Reply To: Log full error 9002

    A very good link has been provided.

    If you have your log file on its own volume another thought would be , just to put it out there, a powershell script...

    ----------------------------------------------------

  • Reply To: Db is slow

    Techno-Umesh wrote:

    Few best practices to optimize SQL DB performance

    - Reduce Table Size - Simplify Joins - Use SELECT Fields FROM Instead of SELECT * FROM - Use EXISTS() Instead of...

    ----------------------------------------------------

  • Reply To: Db is slow

    Since you are on 2017 pressumably , navigate to your database (in explorer) and drill down to the Query Store. There you will find the most expensive queries by cpu...

    ----------------------------------------------------

  • Reply To: Pivot Issue

    I cant even make sense of what the data is supposed to render to. I cant make out any columns in the desired output. Please put in time to present...

    ----------------------------------------------------

  • Reply To: Counting Records summed into time overlap

    Please create a entity relationship diagram explaining what the tables are and what certain columns mean. and how they are related/joined.

    Provide a simple case of input data and what the...

    ----------------------------------------------------

  • Reply To: Schedule Replication

    What section and step within the documentation are you at ? Is this transactional replication ? Is it push or pull subscription ? Where is the distributor  ?

     

    ----------------------------------------------------

Viewing 15 posts - 121 through 135 (of 1,248 total)