Hi guys,
I'm new on T-SQL SP's World! I know how to create them now and I feel confortable with them....
I'm just curious about if I'm writing my code on the best performance (Clean for the SQL Performance).
I mean, for example: I was using Cursors or Temporal Tables until somebody told me that Start using "Table Type Variables" instead of that and I found a great performance on the Code!!! That was Great!
Guys, with your long experience on T-SQL, which recommendations you give to novice T-SQL programmers in order to start doing things in a correct way? Creating good performance code as the example I gave you above?
I don't know if extra Space between the code will less performance, or using IF's instead one Case, etc... I only use what I think first and it works (But not sure if this is the best...)
All this list that you gave me (or us) will be very helpful
Thanks for any comments!
MR
I'm new on T-SQL SP's World! I know how to create them now and I feel confortable with them....
I'm just curious about if I'm writing my code on the best performance (Clean for the SQL Performance).
I mean, for example: I was using Cursors or Temporal Tables until somebody told me that Start using "Table Type Variables" instead of that and I found a great performance on the Code!!! That was Great!
Guys, with your long experience on T-SQL, which recommendations you give to novice T-SQL programmers in order to start doing things in a correct way? Creating good performance code as the example I gave you above?
I don't know if extra Space between the code will less performance, or using IF's instead one Case, etc... I only use what I think first and it works (But not sure if this is the best...)
All this list that you gave me (or us) will be very helpful
Thanks for any comments!
MR