Viewing 15 posts - 16 through 30 (of 120 total)
Yes. Procedures run in indicated times (roughly 2 seconds and one minute) when run directly from query window. Only when run from job is there additional "delay".
August 14, 2019 at 3:28 pm
Is there a reason you are not using SQL Server Management Studio to do your database restore? The GUI provides an excellent interface for point in time recovery, automatically listing...
August 13, 2019 at 9:35 pm
It is the login used by the connection to the instance. Renaming computers with SQL installed can require multiple steps to ensure that SQL is "synched" with the name change.
August 13, 2019 at 2:13 pm
If you are new to SQL, then read about DISTINCT and WHERE parts of SELECT. Happy learning!
August 12, 2019 at 8:47 pm
For context, this appears to be referencing the Ola Hallengren utility code.
August 12, 2019 at 6:12 pm
Yup, I wasn't on the call (IT handled it) but the support response may be because the instance is still on SP1, not SP3 (just guessing on reason).
In any case,...
April 4, 2019 at 2:14 pm
Thanks! Will check and update on progress. So far I know Microsoft said "troll the internet" because SQL 2008 R2 is no longer supported. We may end up just re-installing,...
April 3, 2019 at 2:43 pm
Sounds like a rogue scheduled job that has a hard-coded "sa" password. But could be any service that uses that logon and has an old sa password. Could even be...
November 14, 2018 at 3:00 pm
It is worth noting that if you are using SQL 2016 and above, you can use the built-in STRING_SPLIT function instead of "rolling your own". It is limited to single...
November 1, 2017 at 10:59 am
Replicate to data warehouse, need to be backward compatible with older customers using prior versions of software. So COALESCE old key if it exists, otherwise use IDENTITY (actual case uses...
June 26, 2017 at 2:49 pm
Simply "wrap" your LEFT stuff inside a CASE similar to this:
CASE
April 18, 2017 at 8:40 am
Might want to start with changing how you are incrementing (decrementing) your loop, since currently you start at 1 and then subtract 1 each time, meaning you have an infinite loop....
April 17, 2017 at 5:30 pm
Drew,
Thanks for feedback. I realized my solution was not ideal for performance, but was unsure of the final use (small one time data load or frequent use).
April 17, 2017 at 3:07 pm
Found my problem. I misunderstood the purpose of the Visual Studio generated script. I assumed the CREATE ASSEMBLY was to establish a "placeholder" and that the subsequent ALTER ASSEMBLY contained...
April 17, 2017 at 1:58 pm
Viewing 15 posts - 16 through 30 (of 120 total)