Skip to content

Instantly share code, notes, and snippets.

View cesg's full-sized avatar

CristianSG cesg

  • Chile
View GitHub Profile
-- ----------------------------------- --
-- Cristian Soto González --
-- ----------------------------------- --
/* Datos a utilizar */
-- set @p_rut := '7654384-1';
-- set @c_edf := 03;
-- set @c_lect01 := 01;
-- set @c_lect02 := 02;
-- 1
@cesg
cesg / lab11.sql
Last active December 19, 2015 03:49
# 2
alter table session
add constraint fk_session_evento
foreign key (cod_evento) references `evento`(cod_evento)
on delete restrict on update restrict;
alter table session
add constraint fk_session_periodo
foreign key (num_periodo) references `periodo`(num_periodo)
on delete restrict on update restrict;
@cesg
cesg / gist:1309656
Created October 24, 2011 18:00
GB custom.
/*
* Boss para reemplazar Gunship Battle de icc
*@Autor: Vertex
*@Version: 24-10-2011
*/
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "MapManager.h"
#include "icecrown_citadel.h"
//#include "ScriptPCH.h"
enum eQuest
{
q10866 = 10866
};
/*########################################################
# Unlocking Zuluhed's Chains
##########################################################*/
class spell_zuluhed : public SpellScriptLoader
{
public:
@cesg
cesg / gist:1189129
Created September 2, 2011 16:48
Zuluhed the Whacked
UPDATE `quest_template` SET `ReqSpellCast1` = 0 WHERE entry = 10866;