Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Persistent
- SetTitleMatchMode, 2
- SetTimer, CheckSQLServer, 1000
- ;menu, tray, icon, C:\z.ico
- CheckSQLServer:
- ifWinNotExist, Microsoft SQL Server Management Studio
- ExitApp
- return
- #IfWinActive, Microsoft SQL Server Management Studio
- ::alter::ALTER
- ::and::AND
- ::as::AS
- ::asc::ASC
- ::avg::AVG
- ::begin::BEGIN
- ::between::BETWEEN
- ::bigint::BIGINT
- ::binary::BINARY
- ::bit::BIT
- ::by::BY
- ::case::CASE
- ::cast::CAST
- ::char::CHAR
- ::charindex::CHARINDEX
- ::clustered::CLUSTERED
- ::constraint::CONSTRAINT
- ::convert::CONVERT
- ::count::COUNT
- ::create::CREATE
- ::cross::CROSS
- ::date::DATE
- ::dateadd::DATEADD
- ::datediff::DATEDIFF
- ::datetime::DATETIME
- ::datetime2::DATETIME2
- ::datetimeoffset::DATETIMEOFFSET
- ::datepart::DATEPART
- ::datename::DATENAME
- ::day::DAY
- ::decimal::DECIMAL
- ::declare::DECLARE
- ::delete::DELETE
- ::dense::DENSE
- ::dense_rank::DENSE_RANK
- ::desc::DESC
- ::distinct::DISTINCT
- ::drop::DROP
- ::else::ELSE
- ::end::END
- ::except::EXCEPT
- ::execute::EXECUTE
- ::exec::EXEC
- ::float::FLOAT
- ::from::FROM
- ::function::FUNCTION
- ::geography::GOGRAPHY
- ::geometry::GEOMETRY
- ::getdate::GETDATE
- ::go::GO
- ::group::GROUP
- ::group by::GROUP BY
- ::having::HAVING
- ::hierarchyid::HIERARCHYID
- ::hour::HOUR
- ::identity::IDENTITY
- ::if::IF
- ::image::IMAGE
- ::in::IN
- ::index::INDEX
- ::insert::INSERT
- ::int::INT
- ::into::INTO
- ::is::IS
- ::isnull::ISNULL
- ::isnumeric::ISNUMERIC
- ::ltrim::LTRIM
- ::join::JOIN
- ::key::KEY
- ::left::LEFT
- ::len::LEN
- ::like::LIKE
- ::max::MAX
- ::min::MIN
- ::minute::MINUTE
- ::money::MONEY
- ::month::MONTH
- ::nchar::NCHAR
- ::nocount::NOCOUNT
- ::nolock::(NOLOCK)
- ::nonclustered::NONCLUSTERED
- ::not::NOT
- ::ntext::NTEXT
- ::null::NULL
- ::nullif::NULLIF
- ::number::NUMBER
- ::numeric::NUMERIC
- ::nvarchar::NVARCHAR
- ::or::OR
- ::order::ORDER
- ::order by::ORDER BY
- ::on::ON
- ::output::OUTPUT
- ::over::OVER
- ::partition::PARTITION
- ::patindex::PATINDEX
- ::percent::PERCENT
- ::primary::PRIMARY
- ::print::PRINT
- ::proc::PROC
- ::rank::RANK
- ::readonly::READONLY
- ::real::REAL
- ::return::RETURN
- ::returns::RETURNS
- ::replace::REPLACE
- ::right::RIGHT
- ::round::ROUND
- ::row::ROW
- ::row_number::ROW_NUMBER
- ::rtrim::RTRIM
- ::second::SECOND
- ::select::SELECT
- ::set::SET
- ::smalldatetime::SMALLDATETIME
- ::smallint::SMALLINT
- ::smallmoney::SMALLMONEY
- ::substring::SUBSTRING
- ::sum::SUM
- ::sql_variant::SQL_VARIANT
- ::sysname::SYSNAME
- ::table::TABLE
- ::text::TEXT
- ::time::TIME
- ::timestamp::TIMESTAMP
- ::tinyint::TINYINT
- ::to::TO
- ::top::TOP
- ::then::THEN
- ::type::TYPE
- ::union::UNION
- ::unique::UNIQUE
- ::uniqueidentifier::UNIQUEIDENTIFIER
- ::upper::UPPER
- ::update::UPDATE
- ::use::USE
- ::values::VALUES
- ::week::WEEK
- ::weekday::WEEKDAY
- ::when::WHEN
- ::where::WHERE
- ::while::WHILE
- ::with::WITH
- ::varbinary::VARBINARY
- ::varchar::VARCHAR
- ::xml::XML
- ::year::YEAR
- :*:--KK::
- FormatTime, Date,, MMddyyyy
- SendInput --KK%Date%
- return
- return
- !g::
- sendinput ,'{end}'{down}{home}
- return
- !j::
- sendinput {down},{end}
- return
- !h::
- sendinput select {space} {end} {space} as c union {down}{home}
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement