In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Today, I accidentally inquire about the implied parameters of Oracle. I want to add a column describing the function of the parameters in the sentence written by God from the Internet. ORA-00923 occurs, and I want to make a record.
SYS@honor1 > select 2 x.ksppinm name, 3 y.ksppstvl value, 4 y.ksppstdf isdefault, 5 x.ksppdesc desc, 6 decode (bitand (y.ksppstvf 7), 1 isadj from 9 sys.x$ksppi x isadj 8 from 9 sys.x$ksppi x 10 sys.x$ksppcv y 11 where 12 x.inst_id = userenv ('Instance') and 13 y.inst_id = userenv (' Instance') and 14 x.indx = y.indx and x.ksppinm like'% & parameter%' 15 order by 16 translate (x.ksppinm,'_',') 17 / Enter value for parameter: policyold 14: x.indx = y.indx and x.ksppinm like'% & parameter%'new 14: x.indx = y.indx and x.ksppinm like'% policy%'x.ksppdesc desc * ERROR at line 5:ORA-00923: FROM keyword not found where expected
After careful comparison, the problem is caused by the use of the system retention keyword desc in the fifth line, changed to describe, and the problem is solved.
In addition, the meanings of ISMOD and ISADJ in the above query are as follows:
ISMODIFIED VARCHAR2 (10) Indicates whether the parameter has been modified after instance startup: MODIFIED-Parameter has been modified with ALTER SESSION SYSTEM_MOD-Parameter has been modified with ALTER SYSTEM (which causes all the currently logged in sessions' values to be modified) FALSE-Parameter has not been modified after instance startup ISADJUSTED VARCHAR2 (5) Indicates whether Oracle adjusted the input value to a more suitable value (for example, the parameter value should be prime, but the user input a non-prime number So Oracle adjusted the value to the next prime number)
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 244
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.