Viewing 15 posts - 91 through 105 (of 506 total)
ALTER TRIGGER [dbo].[InfoTableUpdateTrigger] September 26, 2018 at 10:56 am
It prevents schema changes to the table without dropping the trigger.
September 25, 2018 at 5:56 pm
It prevents DDL changes to the table without dropping the trigger
September 25, 2018 at 4:16 pm
ALTER TRIGGER [dbo].[InfoTableUpdateTrigger] September 25, 2018 at 3:04 pm
As an option one could use a check constraint instead to enforce the business rule however in the scenario described a lookup table is a better option as, as you...
September 25, 2018 at 12:54 pm
Did someone change the server to Windows Authentication?EXEC master.sys.xp_loginconfig 'login mode'
September 25, 2018 at 11:27 am
The easiest way i know is to use Registered Servers in SSMS. Add all your servers to a group and run a query.SELECT name, type_desc, is_disabled, create_date,...
September 25, 2018 at 11:19 am
In google I typed in:
"sql server how much space does a null take up", This was the top result:
https://stackoverflow.com/questions/3731172/how-much-size-null-value-takes-in-sql-server
September 25, 2018 at 9:59 am
You could create a server role for alter any database. If this is your development server you may want to use a login created from a domain group and add...
September 24, 2018 at 2:24 pm
Make a list of accounts you want to retain SysAdmin and add these logins to a CTE (values or union all).
Using Registered Servers add all the servers to a...
September 24, 2018 at 1:31 pm
Individually create 3 contained logins, one for each of the 3 databases with the same creds.
September 21, 2018 at 3:18 pm
SELECT Count(*)-- DISTINCTSeptember 20, 2018 at 3:13 pm
You could write a .bat or PS script and execute on a schedule using Window Task Scheduler.
September 19, 2018 at 6:31 pm
Maybe column level encryption would work for this.
September 19, 2018 at 6:26 pm
Powershell is a good option as well for importing and exporting CSV files to and from SQL Server tables. If i have a weird file to...
September 19, 2018 at 6:23 pm
Viewing 15 posts - 91 through 105 (of 506 total)