Forum Replies Created

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

  • 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  ?

     

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

  • Reply To: Create start of week column based on dates

    "I'd like to create a column that will list every Monday (start of week) from the enrollment start date to the end date. If no end date, then it will...

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

  • Reply To: A Scary Situation

    I had a scary experience with CPU on a database server reaching 100% due to bad plans from badly written code. I have had all members of my team looking...

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

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