Default Values - Database
Advertisement
Techopedia Explains Default Values - Database
When creating a database table in systems such as Oracle or SQL Server, an option to specify a default value is available. This separates database design issues from the front-end application. For instance, if a bank's interest rate for the current financial year is 8 percent, this may be set as the default value. This relieves the user from having to enter it repeatedly into the database. Most databases use the keyword “default” as a data type. Modification to a default data type can be changed by using the ALTER TABLE command. When a new row is created with vacant column data type, it is filled with default values. For example, the “Date” column in most cases has a default data type as the “CURRENT DATE.”Advertisement
Related Terms
Related Reading
- Database Management Systems: Is the Future Really in the Cloud?
- 7 Reasons Why You Need a Database Management System
- Machine Learning and the Cloud: A Complementary Partnership
- Single-Tenant vs. Multi-Tenant Applications: How to Choose
- Multimodal Learning: A New Frontier in Artificial Intelligence
- Uncovering Security Breaches