Database tutorials
Microsoft SQL Server: How to Find the Foreign Keys in a Database
contributed by Rob Rogers on October 4, 2008 under DatabaseA foreign key is a column or columns that are used to enforce a link between data in two tables. While SQL Server gives you no quick and easy way to view all foreign keys in a database, this quick query will give you that information. It comes in handy when trying to troubleshoot Foreign Key Constraint errors.
SQL Server 2005: How to Disable a Trigger
contributed by Rob Rogers on September 26, 2008 under DatabaseA trigger allows for the execution of SQL code anytime an UPDATE, INSERT, or DELETE command is performed on a certain table. If you are having to perform manual modifications to the table, you may not want the trigger to fire off. Here’s how to disable the trigger so that you can perform your administrative tasks:
SQL Server 2005: What Service Pack is Installed?
contributed by Rob Rogers on January 7, 2008 under DatabaseIf you’re running SQL Server, it’s very wise to make sure that you have the latest service pack installed for optimum performance. If you’re not sure what service pack you have installed (or if you’re still running RTM), follow these steps to find out:
Import CSV file directly into MySQL
contributed by katy8439 on May 8, 2007 under MySQLInstead of writing a script to pull in information from a CSV file, you can link MYSQL directly to it and upload the information using the following SQL syntax.
SQL 2000 – Find version and service pack info
contributed by katy8439 on under DatabaseRun the following code in SQL Server 2000 Query Analyzer to return the Version and Service pack – useful if you’re having problems on a server and don’t know if you’re running the latest patches or not.
SQL Server 2000 – Find Database Language
contributed by katy8439 on under DatabaseHow to find the system language of a server running SQL Server 2000 using a SQL statement.
SQL Server 2005: Move tempdb
contributed by Rob Rogers on under DatabaseBy default, tempdb is placed on the same drive that SQL Server is installed on. This is probably not a desirable result, especially if you have installed SQL Server on the boot drive or on an IDE versus a SATA drive. To move tempdb to a faster drive and improve performance, follow these steps:
RECENT POPULAR RECIPES
- SQL Server 2005: How To Restore a Database from a Backup
- SQL Server 2005: Move tempdb
- SQL Server 2005: Easily Grant Select to All Tables and/or Views in a Database
- SQL Server 2005: How to Reset a Forgotten Password for the sa Account
- SQL Server 2005: How to Attach (or Reattach) a Database Missing the LDF
- SQL Server 2005: What Service Pack is Installed?
- SQL Server 2005: The Copy Database Wizard
- SQL Server 2000 - Find Database Language
- View our Top Tens
TECH-RECIPES BLOGS
- Symfony Propel 1.4: New Project Workflow
- quickie: video on adding 3G modem to a Thinkpad Tablet
- modding: adding 3G to my Lenovo Thinkpad Tablet
- quick look: Lenovo Thinkpad Tablet (Honeycomb) and Pen (pics)
- design: my geek lair
- How to Delete Your Twitter Account
- Flash Error May Slow Down OS X Lion
- Mass Effect: Cannot See Mouse Pointer







