Viewing 15 posts - 481 through 495 (of 7,472 total)
what security context did you use when you created the linked server?
This is what my test uses. The account is dbo in my case.
btw I prefer...
October 27, 2022 at 5:27 pm
sys.dm_io_virtual_file_stats returns data since last startup of SQLServer.
To get what you aim for, you should persist its data yourself.
By itself that data means nothing at all.
It's only use is...
October 27, 2022 at 7:11 am
I suspect this may be an OP spam post ....
October 25, 2022 at 2:07 pm
What are you trying to accomplish?
Why should a UDF be able to handle that?
Check "Valid statements in a function"
October 24, 2022 at 7:02 am
Here is what I use:
-- Deadlock information analysis
Declare @Debug bit
Set @Debug = 1
Set @Debug = 0
Declare @waitresource varchar(128)
set @waitresource = 'KEY: 7:72057600361103360 (97e5c9409bc8)'
set @waitresource...
October 18, 2022 at 12:42 pm
your varchar(4000) consumes as much space as your varchar(19) !
That's the whole point of data type varchar !
Do NOT store date/time/datetime date in (var)char columns !
Always use the correct data...
October 12, 2022 at 7:23 am
We only create full backups (some daily, some every 3 days, some weekly) and log backups.
Most of our databases are small, but have a fair amount of I/U/D transactions.
We do...
September 28, 2022 at 5:39 am
Lets practice some relational stuff, now your sets are small
visualize what you are doing !
Moving the year selection to a view is going to...
September 20, 2022 at 1:21 pm
I haven't experienced any issues just performing the upgrade on passive nodes.
The upgrade process handled it all very well.
September 20, 2022 at 10:29 am
Because you use "AND races.race_year = 2019" you turn your query result into the results of an inner join !!
add "or races.race_year is null" if you want the full results
BTW:...
September 20, 2022 at 8:38 am
It's always lovely to have numbers, dates , datetime info stored in (N)varchar as it guarantees for problems in the future.
Is there any chance you can just replace the '$'...
September 20, 2022 at 7:32 am
my second question is unanswered
I haven't got a clue
September 15, 2022 at 12:14 pm
because I don't like sequence numbers in column names ...
Declare @pvtColumns nvarchar(max) = ''
Select @pvtColumns= stuff(
(
...
September 15, 2022 at 12:11 pm
With the answers you provided, DRP = worst case, how much data do you think you will loose ? At least 24h !
and how long will it take to get...
September 15, 2022 at 7:35 am
You will lose a week of systems administration actions, sqlagent job information, ...
2. What kind of SQL instance is this? DWH / OLTP...
September 14, 2022 at 1:37 pm
Viewing 15 posts - 481 through 495 (of 7,472 total)