How to test Resource account already exist
Hi,
I am creating new createResourceAccount workflow. In my form user enters resource account Id and other information. I want to check, whether given resource acccountId already exist in the resource. If so I would like to display some error in the form. How can I check this. Where as we have to funcionality to test Ligthouse account exist or not.
My resource is Oracle.
I appriciate your help.
thanks
Neopal.
Hi vinhant,
Thanks for your reply. I tried listResourceObjects but it doesn't work. If you have any code sample, could you post it.
thanks
Neopal.
Similar Messages
-
I have upgraded to PSE13 and want to unistall PSE9. When I try to do this all I get is an error message, "Error 1316. The specified account already exists". Then the uninstaller rolls back and I am left with a partially uninstalled version that is unusable. I tried to reinstall the software from the original PSE9 disk but all it tries to do is uninstall the version already on my computer, and this then does the same thing as noted above. How do I completely uninstall PSE9?
See here:
How do I remove older versions of Photoshop? -
iPad mini will not let me access mail after latest software update, 6.1.2, seems to want me to sign in, but whenever I type my Id ad password it just says that the mail account already exists.. Still can't open my mail!
Help would be appreciated.PhotogYogi wrote:
I Have the same issue on a brand new iPad mini 2. My battery is only lasting up to 5 hours. I went on chat with Apple last night and they said my battery is fine and its a Safari issue. I'm literally losing 1% every 3-4 minutes. I tried recalibrating my battery, signing out of iCloud, shutting off all locations, turning off background app refresh, restoring network settings, restoring all, and finally restoring from iTunes with no luck. This is just awful. I got this iPad so I could use it on my long flight for a trip I have coming up, and unfortunately, it's not going to last that long, plus I'm concerned about how many times i will be recharging my battery because of this since battery's do have a life cycle dependent on the number of charges. This is frustrating and needs to be fixed ASAP and addressed by Apple.
By the way, Apple told me to bring my device to the Apple Store because it's still under warranty. That's great and all, but I'm going to waste my time if there is no fix for this issue.
Ok so you want Apple to address the problem, but yet you don't want to take it to them just in case they can't fix it? What if they can fix it? Complaining here certainly won't fix it. -
I can't access my email. I have joined iCloud. When I press mail I get a series of providers. I click iCloud. It asks for my Apple id and password. I provide these to be told this account already exists and I can get no further. What am I doing wrong?
Sorry everyone - I have solved my own question - needed to go through Hotmail account of course.
-
How do I make my already existing check boxes on a (PDF Document) checkable - So I can check and uncheck them on PDF Expert or Annotate 101.
I am using ADOBE Acrobat PRO with millions of options, but no easy "here is how to do the one thing you want to do" anywhere within reason.
Please help me.
Thank YouCan you check and uncheck the boxes in Acrobat?
-
"A copy of this account already exists in Contacts" (but it doesn't)
Running an early 2013 MacBook Pro Retina, on the latest version of Yosemite (10.10.3). I can't enable Contacts for my Exchange account in Internet Accounts. I already have Mail and Calendar selected, but when I select the checkbox for Contacts, it deselects itself a moment later (i.e. the checkmark disappears on its own). I checked out Console to try to get to the bottom of the error, and it tells me that "A copy of this account already exists in Contacts." It doesn't - this is my only Exchange account in Contacts.
I've tried deleting and re-adding the account, rebooting, fixing permissions, and checking for disk errors. No luck. Any ideas? Thank you.I think I fixed this. The first time I deleted the account and re-added it, I chose the option to only delete it from my MacBook. I just tried again, and chose the option (in a dialog box that pops up) to delete the account on all devices. After that, I re-added the account, and Contacts now works.
-
SQL 2008 R2 Management Tools Install Fails - The specified account already exists
Hello,
The installation SQL 2008 R2 Management Tools on a Windows 7 workstation fails with the error, The specified account already exists.
Below is the Summary Log.
Thanks.
Paul
Overall summary:
Final result: SQL Server installation failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then
rerun SQL Server Setup.
Exit code (Decimal): -2068052700
Exit facility code: 1212
Exit error code: 1316
Exit message: SQL Server installation failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then
rerun SQL Server Setup.
Start time: 2014-10-20 09:02:16
End time: 2014-10-20 09:05:57
Requested action: Install
Log with failure: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20141020_085102\sqlncli_Cpu64_1.log
Exception help link:
http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=10.50.1600.1
Machine Properties:
Machine name: WS287
Machine processor count: 4
OS version: Windows 7
OS service pack: Service Pack 1
OS region: United States
OS language: English (United States)
OS architecture: x64
Process architecture: 64 Bit
OS clustered: No
Product features discovered:
Product Instance Instance ID
Feature Language
Edition Version Clustered
Package properties:
Description: SQL Server Database Services 2008 R2
ProductName: SQL Server 2008 R2
Type: RTM
Version: 10
SPLevel: 0
Installation location:
\\SRVDIA18\MSSQL2008R2Install\x64\setup\
Installation edition: STANDARD
User Input Settings:
ACTION: Install
ADDCURRENTUSERASSQLADMIN: False
AGTSVCACCOUNT: <empty>
AGTSVCPASSWORD: *****
AGTSVCSTARTUPTYPE: Manual
ASBACKUPDIR: Backup
ASCOLLATION: Latin1_General_CI_AS
ASCONFIGDIR: Config
ASDATADIR: Data
ASDOMAINGROUP: <empty>
ASLOGDIR: Log
ASPROVIDERMSOLAP: 1
ASSVCACCOUNT: <empty>
ASSVCPASSWORD: *****
ASSVCSTARTUPTYPE: Automatic
ASSYSADMINACCOUNTS: <empty>
ASTEMPDIR: Temp
BROWSERSVCSTARTUPTYPE: Disabled
CONFIGURATIONFILE: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20141020_085102\ConfigurationFile.ini
CUSOURCE:
ENABLERANU: False
ENU: True
ERRORREPORTING: False
FARMACCOUNT: <empty>
FARMADMINPORT: 0
FARMPASSWORD: *****
FEATURES: SSMS,ADV_SSMS
FILESTREAMLEVEL: 0
FILESTREAMSHARENAME: <empty>
FTSVCACCOUNT: <empty>
FTSVCPASSWORD: *****
HELP: False
IACCEPTSQLSERVERLICENSETERMS: False
INDICATEPROGRESS: False
INSTALLSHAREDDIR: C:\Program Files\Microsoft SQL Server\
INSTALLSHAREDWOWDIR: C:\Program Files (x86)\Microsoft SQL Server\
INSTALLSQLDATADIR: <empty>
INSTANCEDIR: C:\Program Files\Microsoft SQL Server\
INSTANCEID: <empty>
INSTANCENAME: <empty>
ISSVCACCOUNT: NT AUTHORITY\NetworkService
ISSVCPASSWORD: *****
ISSVCSTARTUPTYPE: Automatic
NPENABLED: 0
PASSPHRASE: *****
PCUSOURCE:
PID: *****
QUIET: False
QUIETSIMPLE: False
ROLE: <empty>
RSINSTALLMODE: FilesOnlyMode
RSSVCACCOUNT: <empty>
RSSVCPASSWORD: *****
RSSVCSTARTUPTYPE: Automatic
SAPWD: *****
SECURITYMODE: <empty>
SQLBACKUPDIR: <empty>
SQLCOLLATION: SQL_Latin1_General_CP1_CI_AS
SQLSVCACCOUNT: <empty>
SQLSVCPASSWORD: *****
SQLSVCSTARTUPTYPE: Automatic
SQLSYSADMINACCOUNTS: <empty>
SQLTEMPDBDIR: <empty>
SQLTEMPDBLOGDIR: <empty>
SQLUSERDBDIR: <empty>
SQLUSERDBLOGDIR: <empty>
SQMREPORTING: False
TCPENABLED: 0
UIMODE: Normal
X86: False
Configuration file: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20141020_085102\ConfigurationFile.ini
Detailed results:
Feature: Management Tools - Complete
Status: Failed: see logs for details
MSI status: Passed
Configuration status: Passed
Feature: Management Tools - Basic
Status: Failed: see logs for details
MSI status: Passed
Configuration status: Passed
Rules with failures:
Global rules:
Scenario specific rules:
Rules report file: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20141020_085102\SystemConfigurationCheck_Report.htm
The specified account already existsThere is definitely more amusing endeavours in this world, than trying to understand why an SQL Server install failed. The log files are verbose - but somehow the real information about what went wrong seems to be hiding. Never have proverb about not being
able to see the forest for all the trees felt more appropriate.
Nevertheless, this is where things go sour:
MSI (s) (F4:EC) [09:04:15:744]: Resolving source.
MSI (s) (F4:EC) [09:04:15:744]: Resolving source to launched-from source.
MSI (s) (F4:EC) [09:04:15:744]: Setting launched-from source as last-used.
MSI (s) (F4:EC) [09:04:15:744]: PROPERTY CHANGE: Adding SourceDir property. Its value is '\\server\MSSQL2008R2Install\1033_ENU_LP\x64\setup\x64\'.
MSI (s) (F4:EC) [09:04:15:744]: PROPERTY CHANGE: Adding SOURCEDIR property. Its value is '\\server\MSSQL2008R2Install\1033_ENU_LP\x64\setup\x64\'.
MSI (s) (F4:EC) [09:04:15:744]: PROPERTY CHANGE: Adding SourcedirProduct property. Its value is '{2180B33F-3225-423E-BBC1-7798CFD3CD1F}'.
MSI (s) (F4:EC) [09:04:15:744]: SOURCEDIR ==> \\server\MSSQL2008R2Install\1033_ENU_LP\x64\setup\x64\
MSI (s) (F4:EC) [09:04:15:744]: SOURCEDIR product ==> {2180B33F-3225-423E-BBC1-7798CFD3CD1F}
MSI (s) (F4:EC) [09:04:15:744]: SECREPAIR: CryptAcquireContext succeeded
MSI (s) (F4:EC) [09:04:15:744]: Determining source type
MSI (s) (F4:EC) [09:04:15:744]: Note: 1: 2203 2: \\server\MSSQL2008R2Install\1033_ENU_LP\x64\setup\x64\SQL ODBC Native Client 10 - 64bit.msi 3: -2147287038
MSI (s) (F4:EC) [09:04:15:744]: Note: 1: 1316 2: \\server\MSSQL2008R2Install\1033_ENU_LP\x64\setup\x64\SQL ODBC Native Client 10 - 64bit.msi
MSI (s) (F4:EC) [09:04:15:744]: SECREPAIR: Error determining package source type
MSI (s) (F4:EC) [09:04:15:744]: SECUREREPAIR: SecureRepair Failed. Error code: 524F91D34B8
MSI (s) (F4:EC) [09:04:40:775]: Product: Microsoft SQL Server 2008 R2 Native Client -- Error 1316. The specified account already exists.
What account? I supposed you have already asked yourself that and just shaken your head.
But there is another error code 2203, NET HELPMSG 2203 says "The password parameter is invalid." And I note that the source is apparently on a share.
So where is my guess: the MSI installer - which runs as a service, somehow does not have permissions to read the installation from the share. Or is trying to log on to the share with your username/password? No, I don't know, I am just speculating widely.
But my advice would be to copy the installation directory from the share to a local disk.
Maybe that CryptAcquireContext is significant as well - I don't know.
Oh, wait, here is something just before the section above in the log:
MSI (s) (F4:EC) [09:04:15:729]: Note: 1: 2205 2: 3: Environment
MSI (s) (F4:EC) [09:04:15:729]: Note: 1: 2228 2: 3: Environment 4: SELECT `Name`,`Value` FROM `Environment`,`Component` WHERE `Component_`=`Component` AND (`Component`.`Action` = 1 OR `Component`.`Action` = 2)
Action start 9:04:15: WriteEnvironmentStrings.
2205 is "The logon processor did not add the message alias." I see that in a successful log that I have, so that is probably benign. But 2228 seems to be
"There are too many names in the user accounts database."
Exactly what that means, I have no clue, but it could be a Windows problem.
Erland Sommarskog, SQL Server MVP, [email protected] -
Hi,
I try to install, the SQL Express 2008 R2 with Advanced
The installation has only one error (Error 1316. The Specific account already exists.) and the Management Tools Basic setup is failed.
Overall summary:
Final result: SQL Server installation failed. To continue, investigate the
reason for the failure, correct the problem, uninstall SQL Server, and then rerun SQL Server
Setup.
Exit code (Decimal): -2068052700
Exit facility code: 1212
Exit error code: 1316
Exit message: SQL Server installation failed. To continue, investigate the
reason for the failure, correct the problem, uninstall SQL Server, and then rerun SQL Server
Setup.
Start time: 2015-01-02 16:17:17
End time: 2015-01-02 16:24:01
Requested action: Install
Log with failure: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap
\Log\20150102_161500\SSCRuntime_Cpu32_1.log
Exception help link: http://go.microsoft.com/fwlink?
LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=10.50.4000.0
Machine Properties:
Machine name: KHPNHSI_BNANG
Machine processor count: 4
OS version: Windows 7
OS service pack: Service Pack 1
OS region: United States
OS language: English (United States)
OS architecture: x64
Process architecture: 64 Bit
OS clustered: No
Product features discovered:
Product Instance Instance ID Feature
Language Edition Version Clustered
Package properties:
Description: SQL Server Database Services 2008 R2
ProductName: SQL Server 2008 R2
Type: RTM
Version: 10
Installation location: g:\41bee43707e62fab54ec\x64\setup\
Installation edition: EXPRESS_ADVANCED
Slipstream: True
SP Level 2
User Input Settings:
ACTION: Install
ADDCURRENTUSERASSQLADMIN: True
AGTSVCACCOUNT: NT AUTHORITY\NETWORK SERVICE
AGTSVCPASSWORD: *****
AGTSVCSTARTUPTYPE: Disabled
ASBACKUPDIR: Backup
ASCOLLATION: Latin1_General_CI_AS
ASCONFIGDIR: Config
ASDATADIR: Data
ASDOMAINGROUP: <empty>
ASLOGDIR: Log
ASPROVIDERMSOLAP: 1
ASSVCACCOUNT: <empty>
ASSVCPASSWORD: *****
ASSVCSTARTUPTYPE: Automatic
ASSYSADMINACCOUNTS: <empty>
ASTEMPDIR: Temp
BROWSERSVCSTARTUPTYPE: Disabled
CONFIGURATIONFILE:
CUSOURCE:
ENABLERANU: True
ENU: True
ERRORREPORTING: False
FARMACCOUNT: <empty>
FARMADMINPORT: 0
FARMPASSWORD: *****
FEATURES: SQLENGINE,REPLICATION,SSMS,SNAC_SDK
FILESTREAMLEVEL: 0
FILESTREAMSHARENAME: <empty>
FTSVCACCOUNT: <empty>
FTSVCPASSWORD: *****
HELP: False
INDICATEPROGRESS: False
INSTALLSHAREDDIR: C:\Program Files\Microsoft SQL Server\
INSTALLSHAREDWOWDIR: C:\Program Files (x86)\Microsoft SQL Server\
INSTALLSQLDATADIR: <empty>
INSTANCEDIR: C:\Program Files\Microsoft SQL Server\
INSTANCEID: SQLExpress
INSTANCENAME: SQLEXPRESS
ISSVCACCOUNT: NT AUTHORITY\NetworkService
ISSVCPASSWORD: *****
ISSVCSTARTUPTYPE: Automatic
NPENABLED: 0
PASSPHRASE: *****
PCUSOURCE: g:\41bee43707e62fab54ec\PCUSOURCE
PID: *****
QUIET: False
QUIETSIMPLE: False
ROLE: AllFeatures_WithDefaults
RSINSTALLMODE: FilesOnlyMode
RSSVCACCOUNT: NT AUTHORITY\NETWORK SERVICE
RSSVCPASSWORD: *****
RSSVCSTARTUPTYPE: Automatic
SAPWD: *****
SECURITYMODE: SQL
SQLBACKUPDIR: <empty>
SQLCOLLATION: SQL_Latin1_General_CP1_CI_AS
SQLSVCACCOUNT: NT AUTHORITY\NETWORK SERVICE
SQLSVCPASSWORD: *****
SQLSVCSTARTUPTYPE: Automatic
SQLSYSADMINACCOUNTS: PSI\ssamnang
SQLTEMPDBDIR: <empty>
SQLTEMPDBLOGDIR: <empty>
SQLUSERDBDIR: <empty>
SQLUSERDBLOGDIR: <empty>
SQMREPORTING: False
TCPENABLED: 0
UIMODE: AutoAdvance
X86: False
Configuration file: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap
\Log\20150102_161500\ConfigurationFile.ini
Detailed results:
Feature: Database Engine Services
Status: Passed
MSI status: Passed
Configuration status: Passed
Feature: SQL Client Connectivity SDK
Status: Passed
MSI status: Passed
Configuration status: Passed
Feature: SQL Server Replication
Status: Passed
MSI status: Passed
Configuration status: Passed
Feature: Management Tools - Basic
Status: Failed: see logs for details
MSI status: Passed
Configuration status: Passed
Rules with failures:
Global rules:
Scenario specific rules:
Rules report file: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap
\Log\20150102_161500\SystemConfigurationCheck_Report.htm
Please help!
Samnang.Hi SSamnang,
According to your description, you come across the error that the specific account already exists. Please help to share the complete error log in C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20150102_161500\SSCRuntime_Cpu32_1.log. You could
use google drive to upload the error log following the steps in the article:
https://support.google.com/drive/answer/2424368?hl=en
From the exception help link, we notice that, the issue could be due to that an attempt fails to install SQL Server Native Client on a computer where SQL Server Native Client is already installed.
I recommend you to check if there is already an existing SQL Server Native Client on your computer. If there is an existing one, you could uninstall it and install SQL Server again.
In addition, there is a similar thread for reference:
https://social.technet.microsoft.com/Forums/en-US/dc31bffd-c9e2-4630-b5d7-9252b03c24fe/sql-2008-r2-management-tools-install-fails-the-specified-account-already-exists?forum=sqltools.
Regards,
Michelle Li -
I am a new Creative Cloud Subscriber. I tried to install Acrobat XI Pro and received an error during the installation. I contacted support, and they had me uninstall the partial installation of Acrobat XI, and then reboot the machine.
After the reboot I attempted to install Acrobat 11 from a full version that I downloaded from the Adobe website, based on the information provided to me by support.
That did not work and while the software was trying to uninstall Acrobat X I received an Error 1316, and it quit.
Now when I try to remove Acrobat 10, I get the Error 1316 The specified account already exists.
What do I need to do to uninstall Acrobat 10 and Install Acrobat 11.
EJYou will need to repair AA X before you can uninstall it. AA XI typically breaks part of prior versions in that removal of AA XI, removes those parts of XI the overwrote parts of X and thus X is broken.
-
"the specified account already exists"
I am having issues with iTunes. OS is Windows 7, 64-bit. The Apple Software Update errors out when trying to update it to the current version.
So I tried uninstalling it from the Control Panel. I get an error "The specified account already exists," which then halts the uninstall process. I get the same error if I try to just install the current version of iTunes.
So I can't uninstall, and I can't install, and the current install looks to be somehow corrupted.
Anyone out there have any ideas?Try this alternate link to that fixit: http://support.microsoft.com/kb/290301/en-us
For general advice see Troubleshooting issues with iTunes for Windows updates.
The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
tt2 -
Facebook account "already exists" - but not visible
Hi. I have a new Mac Mini running 10.8.2.
When I first got the computer I entered my FAcebook details and then, when my Contacts and Calendars were populated in a terrifying way, I deleted the Facebook account. Now I realize I was being hasty and I could have just unchecked "Contacts" and "Calendars" in the Mail, Contacts & Calendars panel of the Settings.
However, when I now try to add my Facebook account I am getting the error message that that "Facebook account already exists." It is not in the list of mail accounts. Do I need to delete a p list file or something? I hate to do that because I use Google authentication and it's a pain to enter the new ap-specific password. But I would like Facebook integration.
Thanks!
Meghan
PS Is there any way to select which contacts we'd like to populate? THat would be cool.I had the same problem, what LousyFool suggested fixed my problem:
LousyFool wrote:
Go to ~/Library/Facebook and move the file(s) in that directory to a different location, e.g. Desktop. Then log out and back in, and see if the "Facebook account allready exists", still.
This facebook user account files are under Users/yourusername/Library/Facebook . When you find this file you can just rename the ending ".plist" file in this folder with a ".bak" for backup copy. When you complete the account set up and log out a new ".plist" will be created.
*Note: In Mountain Lion 10.8.3 this "Library" folder is hidden. But if you go to the Finder "Go" menu and click option key the Library will be visable in the list.
thanks all. -
I'm trying to set up my Pandora App on my IPhone 4S. When I register it says: "An account already exists with that e-mail address" That is because it is set up also on my computer. It doesn't tell me what to do otherwise. I don't like using all different e-mails.
Use the same email and password as on your computer. Don't try to set up a new account. I use Pandora on my computer, both phones and my iPad.
-
I had previously setup Firefox Sync at one time under version 3.6, then installed FF v4 and attempted to reconnect using my existing account which gave me an error of "invalid username or password" - and then found I could log in just fine on the sync web page. So I changed my password via the web page. attempting to connect via the Setup Sync wizard still failed with an invalid name or password. I then went back to the sync website and performed a "Delete my Account" which it reported was successful. Unfortunately, now when I attempt to perform a "Create New Account" using the Setup Sync wizard, it complains that "[email protected]" already exists - so I gave it 24 hours figuring maybe there was a nightly cleanup process that took place to clean out the deletions, etc... still no luck. I can't login via the sync web site anymore (due to deletion?) but can't create new account on same email address because it already exists... so now what?
There's no nightly cleanup. Delete should happen immediately, so it looks like something wrong happened. However, if the delete failed, it wouldn't have purged your password.
I've verified that your account still exists, and your email address is associated with it. You can use the forgot-password at https://account.services.mozilla.com/ to reset the password. If you can log into that site, you should be able to log in to your sync, so if you still can't, let us know and we'll get you to turn on some logs to see what the problem is. -
I have not been able to import contacts from google or my android to my new I-phone 5. This article helps to a point until error message "cannot create account ... already exist" is received. Please help.
-Reece,
We only have 1 single domain, 1 domain forest, no subdomains, only alias. I had replied to the other post as well. But I am happy to paste it here in case anyone want to read it.
So, after a few months of testing, capture and sending logs back and forth to Apple Engineers, we found out there is a setting in AD, under User Account that prevent us to log into AD from Mountain Lion. If you would go to your AD server, open up a user account properties, then go to Account tab, the "Do not require Kerberos preauthentication" option is checked. As soon as I uncheck that option, immediately I was able to log into AD on the Mac client. Apple engineers copied all my AD settings and setup a test environment on their end and match exact mine AD environment. They was able to reproduce this issue.
The bad part about this is... our environment required the "Do not require Kerberos preauthentication" is checked in AD, in order for our users to login into some of our Unix and Linux services. Which mean that it is impossible for us to remove that check mark because most, if not all of them some way or another require to login into applications that run on Unix and Linux. Apple is working to see if they can come up with a fix. Apparently, no one has report this issue except us. I believe most of you out there don't have that check mark checked in your environment... Anyone out there have any suggestion to by pass or have a work around for this? -
How to test if a column exists in a table
Hello,
Using SQL or PL/SQL how do I test if a column exists in a table. For example,
if column_aa exists in table_1
then do this....
else do that....
Thank you.Set ServerOutput On;
CREATE Table a_Test (
Col1 NUMBER
, Col2 NUMBER )
DECLARE
lnCol1 NUMBER ;
lnCol7 NUMBER ;
PROCEDURE TestColumn( acColName IN VARCHAR2 )
IS
lnColX NUMBER ;
NoColumnExists EXCEPTION;
PRAGMA EXCEPTION_INIT(NoColumnExists, -904);
BEGIN
EXECUTE IMMEDIATE
'SELECT Max('|| acColName||') FROM a_Test WHERE RowNum = 0'
INTO lnColX ;
DBMS_OUTPUT.Put_Line('Column: '||acColName||' exists.');
EXCEPTION
WHEN NoColumnExists THEN
DBMS_OUTPUT.Put_Line('Column: '||acColName||' NOT exists.');
WHEN Others THEN
DBMS_OUTPUT.Put_Line( SqlCode ||' '||SqlErrM );
END
BEGIN
DBMS_OUTPUT.Enable ;
TestColumn( 'Col1') ;
TestColumn( 'Col2') ;
TestColumn( 'Col7') ;
END
DROP Table a_Test;
Maybe you are looking for
-
BO xi 3.1 u2013 schedule a template for multiple reports with different column
Hi, I need to migrate the existing reports from SQL Server Reporting Services to BO, and the column order in the report is very important to the clients since clients have existing code to ingest these reports into their database. Now I want to sched
-
Lost my laptop, how do I transfer all media from phone to new pc?
Lost my laptop, how do I transfer all media from phone to new pc? cheers
-
U2 Ipod says Canot be synced The required folder can not be foud?
Any one experience this if so how do i fix it?
-
Accidental PS edit save to the Aperture Library / How to remove
In my haste I accidentally saved a ps edit to the aperture library instead of the desktop. Normally I wouldn't be concerned about it but it's meant to print to mural size and it's huge. I can see it in the save directory via PS but am otherwise unabl
-
Does anyone know of an Imposition plug-in for InDesign CC (on a Mac)?
I used to use 'BusinessCards CE 1.33.jsx' - Javascript. But it doesn't work on CC. I want to lay business cards 21up. Any ideas peeps?