-- 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
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
//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
################################################################################ | |
# 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
{ | |
"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
-- 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
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
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation] | |
"RealTimeIsUniversal"=dword:00000001 |
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
package ui; | |
import org.uqbar.commons.utils.Observable; | |
import java.util.Arrays; | |
import java.util.List; | |
@Observable | |
public class UnViewModel { | |
private String nombreSeleccionado; |
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
#!/bin/bash | |
# Update all git directories below current directory or specified directory, asking for confirmation | |
function ask_yes_or_no() { | |
read -p "$1 ([y]es or [N]o): " | |
case $(echo $REPLY | tr '[A-Z]' '[a-z]') in | |
y|yes) echo "yes" ;; | |
*) echo "no" ;; | |
esac |