How to change SSMS grid view zoom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
sch.name AS table_schema | |
,tbl.name AS table_name | |
,trig.name AS trigger_name | |
,trig.is_disabled | |
,CASE WHEN is_disabled = 0 THEN 'Enabled' ELSE 'Disabled' END trigger_Status | |
FROM sys.triggers AS trig | |
LEFT JOIN sys.tables AS tbl ON tbl.object_id = trig.parent_id | |
LEFT JOIN sys.schemas AS sch ON sch.schema_id = tbl.schema_id |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
ind.name | |
,sch.name | |
,obj.name | |
,sc.name | |
,sc.is_computed AS is_computed | |
,tbl_computed_columns.definition AS computation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
ind.name | |
,'DROP INDEX ' + QUOTENAME | |
( | |
CASE WHEN SUBSTRING(ind.name, 1, 2) = 'ix' THEN 'IX' + SUBSTRING(ind.name, 3, 10000) ELSE ind.name END | |
) + ' ON ' + QUOTENAME(sch.name) + '.' + QUOTENAME(obj.name) + '; ' AS DropIndexScript | |
, ' CREATE ' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Simply convert: | |
ffmpeg -i input.avi output.mp4 | |
Simply convert, but only the left half of the screen(s): | |
ffmpeg -i input.avi -filter_complex "[0:v]crop=iw/2:ih:0:0,scale=iw:ih[out]" -map "[out]" output.mp4 | |
Simply convert, but only the right half of the screen(s): | |
ffmpeg -i input.avi -filter_complex "[0:v]crop=iw/2:ih:ow:0,scale=iw:ih[out]" -map "[out]" output.mp4 |
Alle: =IIF(COUNTROWS("SEL_Standort").Equals(Parameters!in_standort.Count),"Alle","Nicht Alle")
What | Color |
---|---|
Title Background | #4472C4 |
Light Blue | #D9E1F2 |
Line | #AABEE4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
USE master | |
GO | |
ALTER DATABASE database_name SET SINGLE_USER WITH ROLLBACK IMMEDIATE | |
GO | |
ALTER DATABASE database_name SET MULTI_USER WITH ROLLBACK IMMEDIATE | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
t.[text], qs.creation_time | |
FROM sys.dm_exec_cached_plans AS p | |
CROSS APPLY sys.dm_exec_sql_text(p.plan_handle) AS t | |
JOIN sys.dm_exec_query_stats qs ON p.plan_handle = qs.plan_handle | |
-- WHERE t.[text] LIKE N'%something unique about your query%'; | |
WHERE t.[text] LIKE N'%CTE%' | |
-- AND t.text LIKE '%APP-APERTUR%' | |
ORDER BY qs.creation_time DESC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE IF NOT EXISTS named_colors | |
( | |
nc_val int NOT NULL | |
,nc_r tinyint NULL | |
,nc_g tinyint NULL | |
,nc_b tinyint NULL | |
,nc_name varchar(50) NOT NULL | |
,nc_hex varchar(7) NULL | |
,CONSTRAINT pk_named_colors PRIMARY KEY ( nc_name ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function createHTMLFromJSONML(jsonML) | |
{ | |
if (!Array.isArray(jsonML) || jsonML.length === 0) | |
{ | |
return ''; | |
} | |
const [tag, attributes, ...children] = jsonML; |
NewerOlder