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 procedure SPPAcientesXMedico | |
| @NombreMedico varchar(30) | |
| as | |
| declare | |
| @nro int, | |
| @nombrePaciente varchar(15), | |
| @fechaNacimiento date, | |
| @edad int, | |
| @enfermedad varchar(15), | |
| @diasTratamiento int, |
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
| -- Agregar una nueva columna | |
| alter table [table-name] | |
| add [name-column] [data-type] | |
| -- Agregar una columna con llave foranea | |
| alter table [table-name] | |
| add [name-column] [type] | |
| constraint [name-of-fk] | |
| foreign key([column-id]) references [table-name]([column-id]) |
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
| /* | |
| * by Jsn | |
| * jason.scz@gmail.com | |
| */ | |
| /* app.js - angularjs */ | |
| var app = angular.module('Aplication',[]); | |
| app.controller('MyController',function($scope){ | |
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
| <?php | |
| class MYDB { | |
| var $user; | |
| var $pass; | |
| var $data; | |
| var $port; | |
| var $host; | |
| var $conx; |
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
| /* | |
| * AbstractorJs | |
| **/ | |
| var | |
| // Author | |
| AbstractorJs = "Create by Freddy J. Fernandez C. on Thu Nov 19 2015 04:19:20 GMT-04", | |
| // document as doc |
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
| use [master] | |
| go | |
| if (DB_ID('DBENTIDAD') is not null) | |
| drop database [DBENTIDAD] | |
| go | |
| create database [DBENTIDAD] | |
| go |
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 by Jsn jason.scz@gmail.com | |
| */ | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Text; | |
| using System.Data.SqlClient; | |
| using System.Data; | |
| namespace Acceso_a_datos |
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
| public static class Consola | |
| { | |
| public static void WriteLine(string msg, params string[] arg) | |
| { | |
| string temp = ""; | |
| bool x = false; | |
| int p = 0; | |
| foreach (char c in msg) | |
| { | |
| if (c == '}' && x) |
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
| ------------------------ | |
| -- by Jsn | |
| -- jason.scz@gmail.com | |
| ------------------------ | |
| go | |
| create view vwRANB | |
| as | |
| select CAST(ROUND(RAND(),0) AS BIT) as Bln |
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
| <?php | |
| namespace App; | |
| use DB; | |
| use App\Empresa; | |
| use App\Persona; | |
| use Illuminate\Database\Eloquent\Model; | |
| class Cliente extends Model |