Viewing 15 posts - 1 through 15 (of 23 total)
Perfection is a goal and it can be very far away. Incremental shorter goals can be used to get to "perfection" in more manageable chunks.
I have seen software that was...
June 8, 2024 at 4:49 pm
On 20August the 2020 list became available... SQL Injection is still #6 (https://cwe.mitre.org/top25/archive/2020/2020_cwe_top25.html).
September 3, 2020 at 11:59 am
Pinal Dave found it was not very efficient... as always... it depends... test in your environment to be sure it works like you want...
https://blog.sqlauthority.com/2019/12/11/sql-server-approx_count_distinct-not-always-efficient/
June 2, 2020 at 2:05 pm
Along with the other suggestions, sometimes putting the logic in a .bat or .cmd and calling that file in the job step will help.
August 21, 2019 at 11:43 am
Specifying servername requires uppercase S "-S", specifying separator is lowercase s "-s". -i is for a sql file, usually used instead of -Q or -q.
June 19, 2019 at 8:56 am
Ola has me covered... (@Databases = 'USER_DATABASES', @ChangeBackupType = 'Y' ) is one of my favorite features of his scripts... even if I am making DIFFerentials, it will make a...
May 8, 2019 at 12:08 pm
Have you tried using msdb.dbo.agent_datetime?
April 11, 2019 at 1:22 pm
SQL Server installs are already a 5-10 minute process...using a ConfigurationFile.ini makes it very easy to apply a standardized template to multiple instances.
March 26, 2019 at 6:04 am
You could import each line into a single row/record. Then you could parse the single row into the multiple columns you want to use/keep... using SUBSTRING() and the offset you...
November 21, 2018 at 6:14 am
If your index changes are not put into a script and attached to a change request, how can you put a database back to the same state if you later...
October 2, 2018 at 6:00 am
March 14, 2018 at 11:55 am
February 13, 2018 at 6:16 am
If you don't want to enable xp_cmdshell, you can put the WMIC command in a job step that can capture the output to a file that you can bulk insert...
November 18, 2016 at 5:02 am
You can use the lowercase s option from the command-line (-s",") or the SQLCMDCOLSEP variable (set SQLCMDCOLSEP=,)
You need to be careful how you specify options in .BAT/.CMD because comma can...
October 12, 2016 at 7:35 am
Last I heard, Azure does not support extended properties. So this may only be an on-premises solution.
February 25, 2016 at 5:08 pm
Viewing 15 posts - 1 through 15 (of 23 total)
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy