This file contains hidden or 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
$http({ | |
method: 'POST', | |
url: '/upload-file', | |
headers: { | |
'Content-Type': 'multipart/form-data' | |
}, | |
data: { | |
email: Utils.getUserInfo().email, | |
token: Utils.getUserInfo().token, | |
upload: $scope.file |
This file contains hidden or 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 DATABASE AccessX | |
GO | |
USE AccessX | |
GO | |
CREATE TABLE [dbo].[AccessDB]( | |
[LOJA] [nvarchar](50) NULL, | |
[DATA] [nvarchar](50) NULL, | |
[CODIGO DO MATERIAL] [nvarchar](50) NULL, | |
[QUANTIDADE] [nvarchar](50) NULL, | |
[TOTAL DO ITEM] [nvarchar](50) NULL, |
This file contains hidden or 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
static class Program | |
{ | |
/// <summary> | |
/// The main entry point for the application. | |
/// </summary> | |
static void Main() | |
{ | |
#if (!DEBUG) //Release | |
ServiceBase[] ServicesToRun; |
This file contains hidden or 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
-- Include strings to replace in @ServerList | |
DECLARE @ServerList TABLE (Id INT IDENTITY(1,1), Prod VARCHAR(MAX), Dev VARCHAR(MAX)) | |
INSERT INTO @ServerList (Prod,Dev) VALUES | |
('String_In_Prod001', 'String_In_Dev001') | |
,('String_In_Prod002', 'String_In_Prod002') | |
This file contains hidden or 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
DECLARE @SPName NVARCHAR(MAX) = 'SPName' | |
DECLARE @T TABLE (T VARCHAR(MAX)) | |
INSERT INTO @T | |
EXEC SP_HELPTEXT @SPName | |
SELECT LTRIM(REPLACE(T,' ','')) | |
FROM @T | |
WHERE T LIKE '%EXEC%' | |
AND T NOT LIKE '%xp_logevent%' |