Viewing 15 posts - 196 through 210 (of 13,456 total)
the built in role ddl_admin allows the database user to drop/create/alter any object in the database; so it's not limited to just tables, it's procs/views/schemas etc as well
for...
March 22, 2019 at 3:24 pm
you could create an extended event to capture linked server activity, based on the event sqlserver.oledb_data_read, but what are you trying to capture?
my testing of this EE was a little...
March 22, 2019 at 7:30 am
a post here has exactly what you are after, i think:
https://dba.stackexchange.com/questions/151136/how-to-script-statistics-in-sql-server-using-t-sql
just append your WHERE statement tot eh results to limit it to a single table:
[code...
March 22, 2019 at 6:27 am
i am guessing that maybe the trigger definition should have the ansi settings in it, right?CREATE Trigger [Trg_TrackAuditManagement_TABLE]
on ALL Server
for DDL_TABLE_EVENTS
as
SET...
March 21, 2019 at 1:22 pm
i just appended this to your commands, and it worked fine: SET ANSI_NULLS ON;
SET ANSI_PADDING ON;
SET ANSI_WARNINGS ON;
SET ARITHABORT ON;
...
March 21, 2019 at 8:22 am
is there an assumption that there can only be one meeting for a given hour?
i would expect you need additional login where if there are two or more meetings...
March 21, 2019 at 7:24 am
yes, your permissions error is related to how you set up the linked server.
you typically have a few choices, i usually use one of the bottom two from this screenshot,...
March 20, 2019 at 9:28 am
i think this is an intelli Sense question, actually, where you expect the synonyms you are looking for to appear for ease of use, right?
the synonyms exist, but don't...
March 20, 2019 at 8:29 am
pretty sure neither the SQL account or the SQL agent need any access to the database. they are used to interact with things outside of SQL server instead...for example backup...
March 19, 2019 at 12:35 pm
i would lean more towards copying the file as a new name, with name featuring the timestamp to the millisecond, and manipulate that.
also, i would use an isolated copy,...
March 12, 2019 at 1:58 pm
i do the same as what Martin does, but I am using extended properties for my source of tables instead of something external to the database,
the advantage is, when...
March 12, 2019 at 1:54 pm
procedure stats is server wide, but your JOIN and WHERE statement limits it to the current database context.
a minor tweak to use built in finctions and you can get...
March 11, 2019 at 3:03 pm
if you have the actual encrypted varbinary value to compare it to, then yes, i believe it will work.
if you needed to convert a known value to an encrypted...
March 7, 2019 at 5:49 am
If your columns have been set with deterministic always encrypted, then the provider does that for you automatically.
In SQL Server Management Studio or in your regular connection string, you...
March 7, 2019 at 5:22 am
just test your changes via a select query before you implement an actual update:
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
IF OBJECT_ID('tempdb.[dbo].[#recording]') IS NOT NULL
DROP...
March 4, 2019 at 3:17 pm
Viewing 15 posts - 196 through 210 (of 13,456 total)