Viewing 15 posts - 571 through 585 (of 7,466 total)
The test is simple and straight forward
set statistics time , io on
go
select FORMAT(datecol, 'yyyy-MM-dd') as Datetext
from #TallyDate
--order by DateCol
/*
(10000 rows affected)
Table '#TallyDate__________________________________________________________________________________________________________000000000008'. Scan count 1, logical reads...
June 21, 2022 at 11:05 am
just to add to Jeffrey's hints:
Keep in mind your secondaries will also need the same size available !
Don't forget your LDF files ! (these do not benefit from IFI !...
June 21, 2022 at 8:06 am
Which cloud(s) are you using?
how did you configure your connections?
how does your routing work?
did you configure the needed firewall rules?
June 21, 2022 at 8:01 am
If possible, avoid linked servers.
your code may block others ( local to the linked server ) !
Maybe your process is even better off doing its stuff using e.g. SSIS (...
June 21, 2022 at 7:59 am
You could put it all in a table ( non-# and non-## ), kind of a key-value pair thing.
Then have the query selecting your stored row from the table
June 15, 2022 at 12:59 pm
Best is to have sp_send_dbmail execute the query and store the result in a given filename to be added to the email
e.g:
declare @subject varchar(1000)
set @subject = @@servername...
June 15, 2022 at 12:25 pm
I don't know for Aurora and mysql
In SQLServer you can just use "GRANT view definition TO ..."
June 15, 2022 at 6:27 am
I would not rename the new server (to much a hassle ), but have an alias for the name of the old server point to the new server.
June 9, 2022 at 3:53 pm
I figured out why the exec @cmd wasn't working. I was filtering out the files before it got to the cursor. Now I have one last problem. I am...
June 3, 2022 at 1:58 pm
Does your service account have access to 'D:\TelcorLogDump\' ?
crossed with your last reply 😉
June 3, 2022 at 1:54 pm
June 3, 2022 at 1:51 pm
Using "with standby" you force the engine to make your database available in a read-only state.
If you know you'll have to restore all log backup files, use NoRecovery in stead...
June 3, 2022 at 8:35 am
SQLServer will have to rewrite the whole table as internal workings of varchar(n) versus varchar(max) !
It will probably...
June 3, 2022 at 8:26 am
So, someone has a local instance of SQLServer on his/her/its client and declared a Linked Server pointing to another SQLServer instance which can be available with an active VPN connection.
June 2, 2022 at 1:37 pm
On top of Grants replay, you should probably be using last_request_start_time to avoid killing sessions which are still actively used.
( maybe killing one of your sessions with which you are...
June 2, 2022 at 1:08 pm
Viewing 15 posts - 571 through 585 (of 7,466 total)