Skip to content

Instantly share code, notes, and snippets.

Adão Gonçalves adaoex

Block or report user

Report or block adaoex

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ALTER_DATABASE_MODIFY_sql-2000.sql
/* 01. Restringe Acesso ao Banco de Dados somente para "SysAdmin" */
USE master;
go
ALTER DATABASE nome_banco_dados
SET SINGLE_USER;
GO
ALTER DATABASE nome_banco_dados
SET RESTRICTED_USER;
View ALTER_DATABASE_MODIFY.sql
/* 01. Restringe Acesso ao Banco de Dados somente para "SysAdmin" */
USE master;
GO
ALTER DATABASE nome_banco_dados
SET SINGLE_USER;
GO
ALTER DATABASE nome_banco_dados
SET RESTRICTED_USER;
View identity-IDENTITY_INSERT.sql
-- Criar uma tabela para Teste
CREATE TABLE Table_TEST
(
Id INT IDENTITY(1,1),
Data DATETIME
);
-- Tentar um INSERT
INSERT INTO Table_TEST (Id, Data)
VALUES(10,GETDATE())
View insert-identity-table.sql
CREATE TABLE Table_TEST
(
Id INT IDENTITY(1,1),
Data DATETIME
)
@adaoex
adaoex / index.html
Created Sep 23, 2016
Bootstrap - animação de botões de carregamento (loading) com CSS
View index.html
<!-- Code snippet -->
<div class="form-group">
<div class="col-md-12 text-center">
<span class="glyphicon glyphicon-refresh glyphicon-refresh-animate"></span>
</div>
</div>
You can’t perform that action at this time.