Viewing 15 posts - 1 through 15 (of 349 total)
therein lies the problem, when I specify:
ALTER SERVER AUDIT Audit_MyServer_DBs WHERE server_principal_name NOT IN (N'myDomain\!sqlmonitoring', N'myDomain\myDomain\myServiceAccount')
I receive error:
Msg 156, Level 15, State 1, Line 198
Incorrect syntax near the keyword 'IN'.
February 7, 2024 at 7:42 pm
Still a tad bit confused Mr. Ant ... I'd like to exclude 2 values found in server_principal_name from being COLLECTED: mydomain\!sqlmonitoring --AND-- myDomain\myServiceAccount
This ALTER is working great for 1 value...
February 7, 2024 at 6:54 pm
thank you Mr. Ant !! I now see that in addition to setting the spec at the Server level -- If you need to audit the SELECT / INSERT /...
February 6, 2024 at 6:10 pm
thx.. let me give that a try..
January 26, 2024 at 5:44 pm
Thx for your feedback. As of SQL 2019, -- unfortunately there are no columns in distribution.dbo.msarticles table which differentiate TBLs from VWs from PROCs from UDFs -- so I cannot...
January 26, 2024 at 5:24 pm
Jeff & Michael - thank you for your replies. You've confirmed our thoughts on this subject.
June 30, 2023 at 4:30 pm
In some cases in our environment:
This cmd did not work: C:\setspn -L ourServername.domainname.com
This cmd did work: C:\setspn -Q MSSQLSvc/ourServername.domainname.com
June 30, 2023 at 1:18 pm
My resolution included adding a DATA CONVERSION task to my extract from SQL table to a flat file .. specifying Data Type: text stream [DT_TEXT] and Code Page 65000 (UTF-7)
October 18, 2022 at 5:48 pm
PLEASE DISREGARD the above request.. this was NOT my issue. thx anyway
October 18, 2022 at 3:53 pm
thx all -- for your valuable feedback. Ed B, exactly what I was looking for! thank you.
September 7, 2022 at 12:28 pm
thx , makes sense-- I will be sure to connect to an instance prior to opening the .sql file in SSMS...
March 3, 2022 at 2:13 pm
thx for this feedback.. also found this query which we're trying to expand to find slqcommand:
USE SSISDB
SELECT pr.name AS [ProjectName], pr.description AS [ProjectDescription], pr.last_deployed_time AS [ProjectLastValidated], pr.validation_status AS [ProjectValidationStatus], op.object_name...
February 10, 2022 at 9:42 pm
Steve, this looks perfect. Thank you for the FAST reply and a working solution - very much appreciated
August 25, 2021 at 7:32 pm
So I think I'd like to use Powershell to accomplish this. This statement works in Powershell: (exactly as in DOS CMD SHELL)
xcopy \\myFileServer\SQL_BKUP\mySQLServerAAA\myDBname111\FULL\*.bak \\myFileServer\SQL_BKUP\DisasterRecovery
With your assistance, I'd like to procure a...
August 6, 2021 at 6:56 pm
My alter ego just located a sample: Finding newest file in all subdirectories - DosTips.com: www.dostips.com/forum/viewtopic.php?t=3250
You will need nested for loops. The first one to get a list of the directories,...
August 6, 2021 at 3:37 pm
Viewing 15 posts - 1 through 15 (of 349 total)
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy