Archivo por meses: septiembre 2007

ALTER TABLE ORDERS FOREIGN KEY

MySQL: CREATE TABLE ORDERS (Order_ID integer, Order_Date date, Customer_SID integer, Amount double, Primary Key (Order_ID), Foreign Key (Customer_SID) references CUSTOMER(SID)); Oracle: CREATE TABLE ORDERS (Order_ID integer primary key, Order_Date date, Customer_SID integer references CUSTOMER(SID), Amount double); SQL Server: CREATE TABLE ORDERS (Order_ID integer primary key, Order_Date datetime, Customer_SID integer references CUSTOMER(SID), Amount double); Below are… Read More: ALTER TABLE ORDERS FOREIGN KEY »

What is referential integrity?

  Simply put, referential integrity means that when a record in a table refers to a corresponding record in another table, that corresponding record will exist. Look at the following:

Backup – Restore SQL 2005

T-SQL code BACKUP: USE myDatabaseName GO BACKUP DATABASE myDatabaseNameTO DISK = ‘C:\filePath\myDatabaseName.bak’NAME = ‘The name of the back up.’   RESTORE: RESTORE databaseName FROM DISK = ‘C:\filePath\backupFilename’ Tags: backup, restore

RDP Remote Enable Utility

<download> This Utility will enable Remote Desktop connections on remote servers. UPDATE!! now it will also change the port number that RDP listens on. This is good to add a layer of security in. If you find this tool useful please think about a donation using the link below. File Attachment: RDPEnable.zip (597 KB)

Install HP LaserJet 1020 on Mac OSX.

Heres a recap for everyone to Install HP LaserJet 1020 on Mac OSX. 1) Download; http://www.narc.ca/1601-LJ_1022_Series_OSX.dmg (Old version) 2)If you have anything for the HP 1020 in «/Library/Reciepts» delete it. 3) Delete anything for the HP 1020 in Printer in «Printer Setup Utility» 4) Add new printer in «Printer Setup Utility», select HP LaserJet 1020,… Read More: Install HP LaserJet 1020 on Mac OSX. »