-- 1. Just the object name as seen in sys.objects:
sp_rename 'FK_Product_Caetgory', 'FK_Product_Category', 'OBJECT'
-- 2. Qualified with the schema:
sp_rename 'Shopping.FK_Product_Caetgory', 'FK_Product_Category', 'OBJECT'
This file contains 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
using System; | |
using System.Collections.Generic; | |
using System.Data; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using FluentMigrator.Model; | |
using FluentMigrator.SchemaDump.SchemaWriters; | |
namespace SampleApplication.SchemaDump |
This file contains 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
-- Foreign keys | |
use INFORMATION_SCHEMA; | |
select constraint_name, TABLE_NAME, REFERENCED_TABLE_NAME | |
from KEY_COLUMN_USAGE | |
where REFERENCED_TABLE_NAME is not null | |
-- Count of foreign keys with "FK_" prefix | |
use INFORMATION_SCHEMA; | |
select count(*) | |
from KEY_COLUMN_USAGE |
This file contains 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
{ | |
"id": "53aad9cca4d39654293978f9", | |
"name": "TPI Estado Cursada", | |
"desc": "", | |
"descData": null, | |
"closed": false, | |
"idOrganization": null, | |
"invited": false, | |
"pinned": true, | |
"starred": true, |
This file contains 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
################################################################################ | |
# Automatically-generated file. Do not edit! | |
################################################################################ | |
-include ../makefile.init | |
RM := rm -rf | |
# All of the sources participating in the build are defined here | |
-include sources.mk |
This file contains 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
//Prueba 1 | |
//PUT /items/MLA510849033 | |
//Request body | |
{ | |
"variations": [ | |
{ | |
"id": 6442277435 | |
}, | |
{ |
This file contains 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 class Buffer { | |
int getTamanio() | |
byte[] getContenido() | |
} | |
public class File { | |
LowLevelFileSystem fileSystem; | |
int fileDescriptor; |
This file contains 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
# AUTHOR: | |
# @faloi - Federico Aloi | |
# PURPOSE: | |
# A workaround to force New Relic to release the DLL on an Azure Website, accomplished by toggling profiling on/off. | |
# This script must be run before and after the actual deploy, assuming that profiling is enabled at the beginning. | |
# PRECONDITIONS: | |
# $azureWebsiteName is an existing Website of the current subscription | |
# COR_ENABLE_PROFILING is an existent app setting |
This file contains 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
procedure Linea(largo, direccion, color) { | |
repeatWith i in 1..largo { | |
Poner(color) | |
Mover(direccion) | |
} | |
} | |
procedure Cuadrado(largo, color) { | |
repeatWith dir in Norte..Oeste { | |
Linea(largo, dir, color) |
This file contains 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
template<class TYPE> | |
NodoListaSE <TYPE> * NodoListaSE <TYPE>::Pop () | |
{ | |
NodoListaSE <TYPE> *ultimo = this->ObtenerUltimo(); | |
NodoListaSE <TYPE> *anteultimo = this->BuscarNodoAnteriorA(ultimo); | |
anteultimo.sgte = 0; | |
return ultimo; | |
} |