Viewing 15 posts - 166 through 180 (of 13,429 total)
San_kan1gb;
I believe this article was reposted from the original~12 years ago, i'll see if i can recover the links. the proc has gone through a slew of changes since then..matching...
April 16, 2019 at 10:53 am
Express editions have a setting called autoclose, which turns off the database when it has been idle for a while in order to save resources, since an express edition is...
April 10, 2019 at 12:55 pm
no.
you can never restore a database from a higher version of SQL to a lower version. you will need to upgrade your 2014 instances to be 2017 as well.
a database...
April 10, 2019 at 12:24 pm
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
Viewing 15 posts - 166 through 180 (of 13,429 total)