Viewing 15 posts - 541 through 555 (of 7,472 total)
DBownership also by the same account ? ( check when primary on instance )
July 25, 2022 at 1:18 pm
Read this: Author Jeff Moden - Article: Tally OH! An Improved SQL 8K “CSV Splitter” Function, http://www.sqlservercentral.com/articles/Tally+Table/72993/
Example query:
SELECT ACC.ts_easeofworking
,...
July 25, 2022 at 6:34 am
Read this:
Author Jeff Moden - Article: Tally OH! An Improved SQL 8K “CSV Splitter” Function, http://www.sqlservercentral.com/articles/Tally+Table/72993/
Example query:
SELECT ACC.ts_easeofworking
, GOM.ts_easeofworking
...
July 20, 2022 at 1:40 pm
If that is a business rule for your database, you should enforce it in the database. ( mainly to avoid manual mistakes )
ERD:
Drivers - id/name/...
Busses - id/LicensePlate/Capacity/...
DriversBussesAllocation - Date/DriverID/BusID/... -->...
July 20, 2022 at 12:00 pm
did you try adding an OUTER APPLY ( with e.g. DelimitedSplit8K or string_split ) to your queries to handle the multi valued column ?
July 20, 2022 at 11:44 am
Tell your client Microsoft advises this "Data Migration Assistant"
July 19, 2022 at 9:58 am
By now, you know the solution.
Want to make it even better, do not use a SCALAR value function, but turn it into a (in-line)Table valued function !
In most cases, performance...
July 15, 2022 at 6:33 am
Instead of a WHILE loop you could try a numbers table or tally function approach
declare @string varchar(255) = 'EMA_20210526T211254_0000_MRNMM0000001240_PMS110460PAT000001287_PID15235307_OR_Dr';
select string_agg(v.chr, '') within group (order by...
July 14, 2022 at 2:31 pm
Thank you for the feedback
July 14, 2022 at 5:11 am
Issue resolved for me. I have audits configured on my SQL Servers to write to a network share. The share had gone down, so when the server restarted, connections...
July 13, 2022 at 5:37 am
$Filename = $('Job_Runs_{0}.log' -f (get-date($OtherDate) -Format 'yyyy-MM-ddTHH-mm-ss'))
$Filename
July 12, 2022 at 1:19 pm
July 12, 2022 at 6:54 am
If you chose to use "managed backups" it will figure it out itself.
If you chose not to use managed backups ( as it's always been ), you decide what...
July 12, 2022 at 6:34 am
ref: "Troubleshoot query time-out errors"
ref: "How to detect query timeout errors with Extended Events"
July 12, 2022 at 6:30 am
Viewing 15 posts - 541 through 555 (of 7,472 total)