ASM 10g & 11g Upgrade downgrade test

Source: Internet
Author: User

  1. 1.
  2. I used to think that Integer=number (38,0)--38 is the maximum precision of number
  3. Integer is a very large data type and can be represented as power (10,126)-1
  4. Because the maximum of one byte represents 256, the largest of n bytes represents power (256,n) >=power (10,126)
  5. n=53, an integer type uses a minimum of 53 bytes.
  6. So the integer type is still as small as possible, generally rarely use such a large number. In particular, some people deal with the Boolean type;
  7. Because Oracle does not have a Boolean type in its table structure, many people simply replace the Boolean type with an integer, which feels a bit "extravagant". Generally, char (1) is used to denote a Boolean type;' 0 ' means false, ' 1 ' indicates true
  8. 2.
  9. VB in the ToString method home DBNull converted into an empty string.
  10. Can not speak DBNull converted to string method, Custom function:
  11. public static string Getdbstring (Object obj) {
  12. if (! ( obj is DBNull)) {
  13. return (string) obj;
  14. }
  15. else {
  16. return string. Empty;
  17. }
  18. }

ASM 10g & 11g Upgrade downgrade test

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.