Oracle

oracle.dataaccess invalid username/password

笑着哭i 提交于 2021-02-11 09:45:35
问题 I am having a asp.net web application in which I am connecting to a Oracle DB using oracle.DataAccess component. My DBA created a new account and when I try to login with that account in toad, it simply worked fine but when I am passing the values in connection string in SERVER A it is giving me invalid username/password. I double checked the credentials and they are correct. Then I copied the entire website into a new SERVER B and when i tried, I am able to login to the oracle DB. I am very

oracle.dataaccess invalid username/password

点点圈 提交于 2021-02-11 09:44:41
问题 I am having a asp.net web application in which I am connecting to a Oracle DB using oracle.DataAccess component. My DBA created a new account and when I try to login with that account in toad, it simply worked fine but when I am passing the values in connection string in SERVER A it is giving me invalid username/password. I double checked the credentials and they are correct. Then I copied the entire website into a new SERVER B and when i tried, I am able to login to the oracle DB. I am very

oracle.dataaccess invalid username/password

随声附和 提交于 2021-02-11 09:44:07
问题 I am having a asp.net web application in which I am connecting to a Oracle DB using oracle.DataAccess component. My DBA created a new account and when I try to login with that account in toad, it simply worked fine but when I am passing the values in connection string in SERVER A it is giving me invalid username/password. I double checked the credentials and they are correct. Then I copied the entire website into a new SERVER B and when i tried, I am able to login to the oracle DB. I am very

Oracle Client客户端+PLSQL配置

∥☆過路亽.° 提交于 2021-02-11 08:08:13
1、安装Oracle客户端(注意,PLSQL只支持32位的Oracle的客户端,64系统使用32客户端的Oracle也没问题) 网盘分享:https://pan.baidu.com/s/1WtuwzoqcSuV5FnBhBEaQ_A 密码:hnqi 直接软件安装,直接下一步dao结束即可 2、配置文件配置 1 # tnsnames.ora Network Configuration File. 2 # Generated by Oracle InstantClient tools. 3 # For more information, please visit: http: // www.oracle.com/technetwork/database/features/instant-client/index-100365.html 4 5 # Sample: 6 #DatabaseName = 7 # (DESCRIPTION = 8 # (ADDRESS_LIST = 9 # (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521 )) 10 # ) 11 # (CONNECT_DATA = 12 # (SERVER = DEDICATED) 13 # (SERVICE_NAME = ServiceName) 14 #

Edit the control file in Oracle 10g Release 2

烂漫一生 提交于 2021-02-11 07:59:11
问题 I tried to clone an oracle database server to another oracle database server. After I completed the cloning, when I tried connecting to the database by starting SQL Plus I got the following errors: ORA-01157: cannot identify/lock data file 1 - see DBWR trace file ORA-01110: data file 1: '/home/oracle/oradata/ccisv2/system01.dbf' I found that while cloning the control file of the original database location also got cloned. Now in the new server I have the data files located at a different

Can i use REGEXP_LIKE as a condition with IF in a PL/SQL block

谁说胖子不能爱 提交于 2021-02-11 07:22:30
问题 I'm trying to create a function designed to traverse a tree of organisational units filtering out some based on their level in the tree structure and weather they appear on our intranet page. The input to the function is the ORG_UNIT_ID of the starting unit, a flag to show if we should care about the intranet flag and a comma separated list of levels. For instance '2,3'. I'm trying to use REGEXP_LIKE in conjunction with an ELSEIF inside a loop to run up the tree until I hit the first eligible

Can i use REGEXP_LIKE as a condition with IF in a PL/SQL block

这一生的挚爱 提交于 2021-02-11 07:20:09
问题 I'm trying to create a function designed to traverse a tree of organisational units filtering out some based on their level in the tree structure and weather they appear on our intranet page. The input to the function is the ORG_UNIT_ID of the starting unit, a flag to show if we should care about the intranet flag and a comma separated list of levels. For instance '2,3'. I'm trying to use REGEXP_LIKE in conjunction with an ELSEIF inside a loop to run up the tree until I hit the first eligible

Auto incremental date field and version oracle sql for a table

扶醉桌前 提交于 2021-02-11 07:08:19
问题 I have a table and in this table i have data is not properly loaded data integrity issue ,since this is a dimension table we need to maintain the effective_dt_from and effective_dt_to and version correctly ,below is the table and sample data create table TEST ( LOC_SID NUMBER(38,0), CITY VARCHAR2(180 BYTE), POSTAL_CD VARCHAR2(15 BYTE), EFFECTIVE_DT_FROM DATE, EFFECTIVE_DT_TO DATE, VERSION NUMBER(38,0) ); Insert into TEST values (81910,'chicago',null,to_date('01.01.00 00:00:00','DD.MM.YY HH24

win中Oracle简易客户端和plsql的配置

ⅰ亾dé卋堺 提交于 2021-02-11 07:07:15
连接数据库有2种方式:在本机安装Oracle数据库或者是安装一个oracle简易客户端 当然,简易客户端跟oracle数据库比较少了一些功能 连接方式: 1)简易连接 sqlplus scott/tiger@10.0.0.10:1521/study 注意最后的study是服务名,别搞错了 这种ora-12514的报错就是前面的账户密码地址端口一般都正确而服务名写错了 2)本地命名 tnsnames.ora配置好字符串 然后连接 下面介绍一下安装oracle简易客户端和plsql的配置: 1)下载一个oracle简易客户端和plsql(有绿色解压版) 2)将下载的客户端的简易包,解压缩到磁盘上的某一目录,例如:F:\instantclient_12_1 3)设置系统的环境变量 点击计算机->系统属性-〉高级系统设置-〉高级-〉环境变量-〉系统变量 1.将路径 F:\instantclient_12_1;添加到环境变量path中 2.设置ORACLE_HOME : F:\instantclient_12_1 3.设置NLS_LANG : SIMPLIFIED CHINESE_CHINA.ZHS16GBK american_america.AL32UTF8 4.设置TNS_ADMIN : F:\instantclient_12_1 4)在目录 F:\instantclient_12_1

What was the cost for the most expensive movie(s) in the collection? [duplicate]

ε祈祈猫儿з 提交于 2021-02-11 07:07:13
问题 This question already has answers here : Oracle SELECT TOP 10 records (6 answers) Oracle SQL - How to Retrieve highest 5 values of a column [duplicate] (5 answers) Closed 2 months ago . Hey guys I know the code to show the most expensive movie but what's the one that will show the most expensive and ones right below it. I think that's the question. This is the code I got for one movie. SELECT * FROM movie WHERE purchase_price = (SELECT MAX(purchase_price) FROM movie); 回答1: Well since your