Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
Search the Tips

SQL - Page 3

PL/SQL
  SQL
Transact-sql
41-60 of 617     Previous     Next
Trigger Efficiency in Oracle
by Alexander Ocher
It turns out that the latest documentation for Oracle 10g and 11g is incorrect and the documentation for Oracle 9i and previous releases is correct: AFTER row triggers are more efficient than BEFORE row triggers.
Obtain Information About Table Columns in Microsoft SQL Server
by Alexander Ocher
To obtain information about table columns in Microsoft SQL Server, use the INFORMATION_SCHEMA.COLUMNS view.
Changing the Locking Scheme on a Table
by Navin Varma
Using the right type of locking on tables is very important to ensure application scalability.
Testing Compatibility Between SQL Server Versions
by Srinath MS
When migrating SQL code (stored procedures, triggers, etc.) to newer versions, it's not uncommon to have to rewrite your entire back-end code. However, a simpler solution is to check the exisiting code's compatibility with the newer versions.
Execute a SQL Statement with Variable Parameters
by Leonard Anghel
When you have to execute the same SQL statement (in general an UPDATE) for different values you can use the PreparedStatement.
Convert a java.util.Date Object to a java.sql.Date Object
by Leonard Anghel
The code in this tip demonstrates how to convert a java.util.Date object to a java.sql.Date object.
Using ANYDATA in Oracle 9i
by Shraddha Pandya
First introduced in Oracle 9i, ANYDATA is a "self-describing data instance type" which means it not only holds the value, but it also holds its own data type within each instance of it.
When to use ORDER in Sequences in PL/SQL
by Shraddha Pandya
You may need to use ORDER to force sequence numbers to be output in the order of request when you're using them for timestamping.
Quick Script Monitors Application-generated SQL
by Jason Bramsden
This script was written to monitor a program whose process life was only a few seconds. It runs forever and only outputs that SQL which is generated by the program as it's running.
Creating Oracle Table and Column Names that Start with an Underscore
by Amit Jain
The SQL syntax to create these tables is similar to that of creating any other table—with a slight difference.
Predicate Pushing
by Shraddha Pandya
Oracle supports the pushing of predicates into a given view.
Workaround for the SQL DISTINCT Clause
by Srinath MS
The SQL DISTINCT clause isn't case sensitive, which means that your query might end up pulling records with different cases.
Returning a Random set of Records
by Parthasarathy Mandayam
Find out how to use the NEWID() function to return a random set of records.
Remove MS SQL Server Completely
by Larry Sawchuk
Microsoft has several different versions of SQL and occasionally an install fails or an upgrade fails and normal uninstallation is impossible.
Using the ElementPath Capability in SQL Reporting Service 2005
by Jayadev D
Using the ElementPath tag increases your risk of losing Fields when the data source is refreshed. Find out how to workaround this quirk.
How to Backup an SQL Server Database in a Shared Network Location
by Jaya Nehru Kumar
This workaround allows you to back up shared network locations in the SQL database.
Retrieving a Single Value from a Database
by Nathan Broslawsky
This PHP function pulls a single field from a single record in the database once the MySQL connection has already been established.
The Value of Data Archiving
by Navin Varma
This simple table design modification helps you avoid lots of misery in your production environment.
Determine Whether a Table Has an Identity Column
by Jaya Nehru Kumar
A simple, single line of code helps you determine whether a table has an identity column.
Changing Column Names in Oracle
by MS Sridhar
Oracle does not have a mechanism by which you directly change column names. But this workaround is quick and efficient.
41-60 of 617     Previous     Next
Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date