init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,25 @@
|
|||
--Migration
|
||||
DROP VIEW IF EXISTS dbo.getRand;
|
||||
GO
|
||||
|
||||
DROP VIEW IF EXISTS dev.vGetRand;
|
||||
GO
|
||||
|
||||
CREATE VIEW dev.vGetRand AS
|
||||
SELECT RAND(CHECKSUM(NEWID())) AS RandomNumber
|
||||
GO
|
||||
|
||||
EXEC [dbo].[sp_Global_DeleteFunctions]
|
||||
@pSchemaName = NULL,
|
||||
@pFunctionNames = '<FunctionNames><FunctionName>fnConvertBase64</FunctionName></FunctionNames>'
|
||||
|
||||
DROP FUNCTION IF EXISTS dbo.fnConvertBase64
|
||||
GO
|
||||
|
||||
EXEC [dbo].[sp_Global_DeleteStoredProcedures]
|
||||
@pSchemaName = NULL, -- pl: 'KR_BEDO_Schema' | NULL esetén az összes sémán végigmegy
|
||||
@pStoredProcedureNames = '<StoredProcedureNames><StoredProcedureName>sp_GenerateNewSHA1PasswordUserFromString</StoredProcedureName></StoredProcedureNames>'
|
||||
|
||||
DROP PROCEDURE IF EXISTS dbo.sp_GenerateNewSHA1PasswordUserFromString
|
||||
GO
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
DROP FUNCTION IF EXISTS dev.fnConvertBase64
|
||||
GO
|
||||
|
||||
CREATE FUNCTION dev.fnConvertBase64 (@source VARBINARY(MAX))
|
||||
RETURNS NVARCHAR(64)
|
||||
BEGIN
|
||||
RETURN CAST('' AS XML).value('xs:base64Binary(sql:variable(''@source''))', 'varchar(max)')
|
||||
END;
|
||||
GO
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue