Viewing 15 posts - 361 through 375 (of 6,400 total)
You need to connect to the DAC session via SQLCMD or SSMS and then drop the trigger.
ADMIN:MyServer\MyInstance
DROP TRIGGER Trigger_ServerLogon ON ALL SERVER
March 25, 2023 at 6:30 pm
Unsure how many people here use DBATools as it's not talked about much.
But the module maintainers and other users of DBATools all hang out in Slack (you can join via...
March 24, 2023 at 1:56 pm
OK, so you have given us a BACPAC
Now explain clearly what it is that you need help with, based on this sample data.
As based on your original logic, I still...
March 24, 2023 at 12:00 pm
SSAS required Windows AD auth to work, so it "could" be possible if you could get kerberos working and you can get kinit to store credentials in the Mac's credential...
March 24, 2023 at 9:17 am
An error occurred in your logic.
You would need to implement TRY/CATCH logic and in the catch block of the error, return the actual error details, using something like
March 24, 2023 at 9:11 am
Between is inclusive, so Lunch will be any meal from 10:00 to 15:59 and Snack will be any meal from 15:00 to 18:59 according to your logic above, so you...
March 24, 2023 at 9:04 am
Logic should be something like this
((Successful Pick / Total Picks) * 100)
((Mispick / Total Picks) * 100)
((Zero Pick / Total Picks) * 100)
Does this work for you?
SELECT[AT].[Site_Name]...
March 23, 2023 at 12:21 pm
Sounds like your going to need to rebuild all the system databases.
No way to repair the MSDB database as its all system controlled.
Obviously rebuilding all the system DB's is an...
March 22, 2023 at 9:00 am
If you want to use DTU based pricing, you need to know your workload first.
First you need to capture 4 metrics - "Processor - % processor time", "Logical Disk -...
March 21, 2023 at 4:11 pm
Yes I would be changing the driver from the SNaC to OLEDB.
The native client has been depreciated for many years now and is no longer receiving updates and it doesn't...
March 17, 2023 at 1:25 pm
Oh man never (unless it is a drastic data delete and a one off shrink) shrink the data file, your getting yourself into a shrink rebuild shrink cycle and that...
March 16, 2023 at 10:21 am
How are you determining that those databases are not synchronising?
Are any of the jobs failing? Does the monitor job fail warning that a backup/copy/restore hasn't happened within the allotted threshold...
March 10, 2023 at 2:56 pm
SUBSTRING(comp, 0, CHARINDEX(' ', comp, CHARINDEX(' ', comp, 0)+1))
This query not returning exactly how I was lookin for it
OK so you got a way to get to the 2nd...
March 10, 2023 at 2:41 pm
Please show at least some working of the problem you have tried.
You could easily wrap the CHARINDEX/SUBSTRING combination in a CASE statement and where there is no second space return...
March 10, 2023 at 2:01 pm
I would like to send you on an exploration mission here.
Firstly take a look at the documentation for CHARINDEX and SUBSTRING
https://learn.microsoft.com/en-us/sql/t-sql/functions/charindex-transact-sql?view=sql-server-ver16
https://learn.microsoft.com/en-us/sql/t-sql/functions/substring-transact-sql?view=sql-server-ver16
Using a combination of these functions you can easily get...
March 10, 2023 at 10:43 am
Viewing 15 posts - 361 through 375 (of 6,400 total)