Question from SQL Certified Expert

Hi
A have a problem with question from Oracle.Lead2Pass test, people wrote that test is valid. But I don't understand answer...
There is print screen - [http://www.fotoszok.pl/show.php/1342156_sql-test.jpg.html] -
I execute this on oracle 10g and:
1) The problem is space instead of common
(order_id jtem_id)
(order_id item_id)
2) If I correct this (replace space to common )- the execution still returns the errors and any index, table doesn't exist.
3) If I correct the name of columns
(order_id item_id)
(order_id item_id) everything is OK.
Can you explain me this? Is there any mistake in the question?
Thanks!

Hmm... Would you help me find my mistake?
In my case it doesn't work ...
When I have executed this:
create table order_item
order_id number(3),
item_id number(2),
gty number(4),
constraint ORD_ITM_ID_PK primary key (order_id,jtem_id)
using index (create index ORD_ITM_IDX on order_item(order_id,item_id))
SQL Developer has gaved me this error
Error starting at line 630 in command:
create table order_item
order_id number(3),
item_id number(2),
gty number(4),
constraint ORD_ITM_ID_PK primary key (order_id,jtem_id)
using index (create index ORD_ITM_IDX on order_item(order_id,item_id))
Error at Command Line:635 Column:50
Error report:
SQL Error: ORA-00904: "JTEM_ID": niepoprawny identyfikator
00904. 00000 - "%s: invalid identifier"
*Cause:   
*Action:
I checked:
1) select * from order_item;
00942. 00000 - "table or view does not exist"
*Cause:   
*Action:
Error at Line: 640 Column: 15
2)select * from user_indexes where lower(table_name)='order_item';
no rows selected
3) drop table order_item;
drop index order_item.ord_tim_idx;
Error starting at line 641 in command:
drop table order_item
Error report:
00942. 00000 - "table or view does not exist"
*Cause:   
*Action:
Error starting at line 642 in command:
drop index order_item.ord_tim_idx
Error report:
01418. 00000 - "specified index does not exist"
*Cause:   
*Action:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • Connecting to Amazon Redshift from SQL Server Reporting Services

    Hey all,
    Just a general question for now as the company I work for is looking to migrate our current data warehouse from SQL Server 2008R2 to Amazon Redshift.  Currently all of our reports on our intranet are SQL Server Reporting Services reports and
    I have been tasked with finding out whether or not we can connect SSRS to Amazon Redshift.  I see that Amazon Redshift is a SQL data warehouse and uses industry standard ODBC and JDBC connections and PostgreSQL drivers so many popular software vendors
    are certifying Amazon Redshift with their offerings to enable tools to still access RedShift.
    If SSRS can connect to Amazon Redshift, can you also advise me on how this can be done so I can begin playing around with it.
    Cheers 

    Hi there,
    You might want to try the Windows AMIs.
    http://aws.amazon.com/windows/amis/
    For local access, you'll probably need to install 32-bit & 64 bit Postgres drivers on the server & developer machines.  
    http://stackoverflow.com/questions/17323590/redshift-with-ssis-ssdt
    http://michaeljswart.com/2013/03/checking-out-amazon-redshift/
    Then you'll need to configure connection strings in your data source and test.
    http://docs.aws.amazon.com/redshift/latest/mgmt/configuring-connections.html
    cheers,
    Andrew
    Andrew Sears, T4G Limited http://www.performancepointing.com

  • Upgrade from SQL server developer 2008 R2 to SQL Server developer 2012

    Hi,
    We have bought 5 licenses of SQL server developer 2012.
    This licenses provided us an option to use SQL server 2008 R2. And we have been using 2008 R2 till now.
    But now we want to upgrade to SQL server developer 2012 edition
    I want to know the process for up-gradation. When I looked at the licensing portal, it says "This product does not require a product key"
    My questions are: 
    1) Should I download the 2012 version from licensing center and pass the downloaded copy to respective team members?
    2) Can the team member download the SQL server 2012 developer edition from Microsoft site and install it on their machines?
    3) Do we need to first un-install 2008 R2?
    4) How the licensing can be managed in cases of products which say "This product does not require a product key.", i.e. how can I make sure that no more than 5 installations are done by the team
    Thanks

    Hi,
    We have bought 5 licenses of SQL server developer 2012.
    This licenses provided us an option to use SQL server 2008 R2. And we have been using 2008 R2 till now.
    But now we want to upgrade to SQL server developer 2012 edition
    I want to know the process for up-gradation. When I looked at the licensing portal, it says "This product does not require a product key"
    My questions are: 
    1) Should I download the 2012 version from licensing center and pass the downloaded copy to respective team members?
    2) Can the team member download the SQL server 2012 developer edition from Microsoft site and install it on their machines?
    3) Do we need to first un-install 2008 R2?
    4) How the licensing can be managed in cases of products which say "This product does not require a product key.", i.e. how can I make sure that no more than 5 installations are done by the team
    Thanks
    1. Developer edition has license associated with it .And yes you can download it if you have subscription.But please be informed that you cannot use Developer edition in production,its not allowed and illegal.
    2.You can upgarde from SQL server 2008 R2 to 2012 developer edition by Inplace upgrade method ,you can also follow side by side approach.For side by side approach you have to get new box ,intall OS,then install SQL server 2012 ,move logins and jobs and move
    databases by backup restore.You must see supported upgrades
    http://technet.microsoft.com/en-us/library/ms143393(v=sql.110).aspx
    3.No not ins any case ,please dont do that
    4.Licensing question should best be asked with Microsoft licensing expert.
    reg process of upgarde first run upgrade advisor and look for error if any.Then run SQL server 2012  setup and in maintenance section select edition upgrade,other process is same as SQL Server installtion
    http://www.mssqltips.com/sqlservertip/2505/version-and-edition-upgrades-with-sql-server-2008-r2/
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Best way to push change data from sql server to windows/web application

    i apologized that i do not know should i ask this question in this forum or not.
    i have win apps which will load all data initially from db and display through grid but from the next time when any data will change in db or any data will be inserted newly in db then only change or newly inserted data need to be pushed from db side to
    my win apps. now only sql dependency class is coming to my mind but there is a problem regarding sql dependency class that it notify client but do not say which data is updated or inserted.
    so i am looking for best guidance and easy way to achieve my task. what will be the best way to push data from sql server to win or web client.
    there is two issue
    1) how to determine data change or data insert. i guess that can be handle by trigger
    2) next tough part is how very easily push those data from sql server end to win apps end.
    so looking for expert guide. thanks

    Hello,
    Yes, you can create DML trigger on INSERT and UPDATE to get the changed data into a temp table. And then query the temp table from application.
    If you are use SQL Server 2008 or later version, you can also try to use
    Change data capture, which
    can track insert, update, and delete activity that is applied to a SQL Server table and store the changed values on the Change Table.
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • PeopleSoft Enterprise 9 General Ledger Certified Expert exam

    URGENT_ ------------
    Hi All,
    I am Avishek, a peoplesoft finance functional analyst from India. I want to take the "PeopleSoft Enterprise 9 General Ledger Certified Expert" certification and looking out for few study materials on GL apart from the oracle delivered peoplebooks.
    If you have any such documents on general ledger (any inputs on exam tips/ study material / dumps/ Sample Practice Questions for 1Z0-228 GL certification). kindly help me by sending it to my mail id *+<mod. action: email id removed>+*. I have registered for the exam so would really appreciate your quick help.
    Note: The reason for sending this message is to maximize my and other GL functional people's chances to clear the certification and gather the information on peoplesoft GL with all good intention, As very few helpful materails are available for FSCM people in the web as compared to Peopletools technical and other modules. If anyone thinks my aproach is not right kindly ignore this discussion.
    Regards,
    Avishek
    +<mod. action: email id removed>+

    Firstly, it cannot be URGENT.
    Secondly, requesting for dump is something illegal and drop down the exam quality.
    http://www.certguard.com/braindumps.asp
    Nicolas.

  • Steps SSIS and SSAS Migration from sql server 2005 to 2012?

    steps SSIS,SSRS and SSAS Migration from sql server 2005 to 2012? any precautions to take while migration.
    any documentation or any specified steps.

    Hi Vijay,
    According to your description, you want to migrate SQL Server Integration Services and SQL Server Analysis Services from SQL Server 2005 to SQL Server 2012.
    For how to migrate SQL Server Integration Services, please refer to the article:
    http://www.bidn.com/blogs/DevinKnight/ssis/2718/upgrading-packages-to-ssis-2012.
    In addition, since the issue regards SQL Server Integration Services. I suggest you post the question in the SQL Server Integration Services forums at
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlintegrationservices.
    For how to migrate SQL Server Analysis Services, please refer to this article:
    http://www.codeproject.com/Articles/435703/Migration-from-SQL-server-to.
    In addition, since the issue regards SQL Server Analysis Services. I suggest you post the question in the SQL Server Analysis Services forums at
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlanalysisservices. It is appropriate and more experts will assist you.
    Regards,
    Michelle Li

  • HP Expert Day - January 15-16, 2014: Got questions? Ask the Experts!

    Thank you for coming to Expert Day – the event has now concluded.
    **To find out about future HP Expert Day events, check out this page**
    On behalf of the Experts, I would like to thank you for coming to the Forum to connect with us.  We hope you will return to the boards to share your experiences, both good and bad.
    We will be holding more of these Expert Days on different topics in the months to come.  We hope to see you then!
    If you still have questions to ask, feel free to post them on the Forum – we always have Experts on the HP Support Forum to help you out.
    Do you have questions using or setting up your HP notebook, tablet, desktop PC, printer, or all-in-one?
    Well we’ve got answers.
    Experts will be on the notebook, desktop, tablet, and printer and all in ones boards ready to answer your questions from Wednesday, January 15th 7:00am to Thursday, January 16th 7:00am Pacific Time.
    How the day works:
    Come to the Forums and ask your tough technical or pre-purchase questions. More than 250 experts will be on the Forums and will do their best to help you out. An online conversation will be born!
    Why should you come to the Forums?
    Whether you own a Slate7 Extreme tablet, HP Spectre laptop, an HP home desktop computer, a Split x2 hybrid, an Envy all-in-one printer, or an HP Chromebook, there has never been a better chance to learn about your product.
    When do you have a chance to talk directly with the people who designed the product or wrote the manual for it?
    This will be your opportunity to connect with the best and brightest minds at HP for free.
    We’ll share our knowledge on the best ways to:
    Tweak your product to increase performance;
    Set up a Wireless network;
    Troubleshoot the issue you are having;
    Use the tools built into your product that can make it run better and fix common problems;
    Get the most out of Win8 – learn tips and tricks;
    Ensure you have the correct print driver;
    Choose the right power supply, upgrade your video card, or add the right amount of memory;
    Get productive with your new HP android tablet or other device;
    Safeguard your PC from viruses and spyware;
    Get your HP all-in-one printer working with your Apple computer, iPhone, or iPad;
    Upgrade to Windows 8.1 or Mavericks MacOS;
    And it’s FREE.
    It doesn’t matter how old the product is or what it is connected to. We will do our best to help.
    In addition to the Consumer Forum, Expert Day will also be occurring here:
    Enterprise Business Forum (January 15th from 7:00am to January 16th      7:00am Pacific Time)
    Korean Forum (January 16th - 10am to 6pm Korea Time)
    Simplified Chinese (January 16th - 10am to 6pm China Time)
    Looking forward to seeing you on January 15th!
    I work for HP, supporting the HP Experts who volunteer their time and technical knowledge to help others.
    --Say "Thanks" by clicking the Kudos Star in the post that helped you.
    --Please mark the post that solves your problem as "Accepted Solution"

    My HP, purchased in June 2012, died on Saturday.  I was working in recently installed Photoshop, walked away from my computer to answer the phone and when I came back the screen was blank.  When I turned it on, I got a Windows Error Recovery message.  The computer was locked and wouldn't let me move the arrow keys up or down and hitting f8 didn't do anything. 
    I'm not happy with HP.  Any suggestions?

  • General question on SQL Server 2000 to Oracle 10g

    Hello all,
    I just have a general question on migration from SQL Server 2000 to Oracle 10g using SQL Developer.
    How does it migrate Users with proper privileges from SQL Server to Oracle? Follow the interface steps? Or should the users be created on destination Oracle side?
    Thank you.

    Hi,
    It depends which type of migration you are making.
    For a 'Standard' migration when you migrate data a 'create user' statement is created as part of the migration and you will see this in the generated code.
    If you are using the 'Quick' migration option then you need to create the Oracle user or use an existing user to receive the data.
    Your best option is to review the documentation available from -
    http://www.oracle.com/technology/tech/migration//workbench/index_sqldev_omwb.html
    or directly from -
    http://download.oracle.com/docs/cd/E12151_01/index.htm
    and then get back with specific questions if this does not give you the information you need.
    Review the chapter -
    2. Migrating Third-Party Databases
    in -
    Oracle® Database SQL Developer User’s Guide Release 1.5
    Regards,
    Mike

  • Query based Report (Reports From SQL Query)

    Hi All,
    I am facing a problem with a report. I need your help.
    I am creating a Report From SQL Query (Portal) with some arguments passed at runtime. I am able to view the output, if the query returns few rows ( arount 1000 rows). But for some inputs it needs to generate >15000 records, at this point the page is getting time out (i think!) and showing error page. I am able to execute query from the SQL Plus console ot using TOAD editor. Here the query is not taking more that 2 mins time to show the result.
    If i am executing from Portal i observed that, once i give the appropriate input and hit submit button a new oracle process is getting created for the query on UNIX (I am usign "TOP" command to check processes). The browser page will be shown error page after 5 minutes (i am assuming session time out!) , but on the backend the process will be executed for more than 30 mins.
    Can i increase a timeout of portal page, how i can do this?
    The data returned as a result of the query is sized more than 10 MB. Is caching this much data is possible by the browser page? is the returned data is creating any problem here.
    Please help me to find appropriate reasone for the failure?

    Can you post the URL that is giving you the page not found error ? I am not sure if I can be of much help though.
    In order to increase your chances to get a reply you should also post your question in the Portal Forum - Oracle Application Server Portal
    Edited by: Rodolfo Ferrari on Jun 16, 2009 3:49 PM

  • How to delete the Folder from sql server 2008

    Hi all,
    I was trying to delete the folder from sql server 2008 with the below script
    DECLARE @path VARCHAR(256) -- path for backup files
    DECLARE @cmd VARCHAR(8000)
    DECLARE @folderName VARCHAR(256) -- filename for backup
    SET @folderName = + (CONVERT(varchar(10), GETDATE()-7, 112))  -- 7 days back date folder name
    SET @path = 'I:\Backup_Test\' + @folderName -- Folder path
    SET @cmd = 'del ' + @path -- Delete
    EXEC master..xp_cmdshell @cmd
    --Print @cmd
    This is not working it was asking the Confirmation (I:\Backup_Test\20100629\*, Are you sure (Y/N)? ) what will i do to the delete the folder.
    Thanks,
    Prasad R.

    I would notice   you that T-SQL does not play well to do things like that. Do not you want using .net language to delete folders?
    Old method is
    declare @HR int, @CFOLDER varchar(255),@FSO int
        set @CFOLDER='D:\folder\'
        EXEC @HR = sp_OACreate 'Scripting.FileSystemObject', @FSO OUT
        EXEC @HR = sp_OAMethod @FSO, null, 'DeleteFolder', @CFOLDER 
    Now regarding to your second question please examine xp_fileexist  system stored procedure
    CREATE FUNCTION dbo.fn_file_exists(@filename VARCHAR(300))
      RETURNS INT
    AS
    BEGIN
      DECLARE @file_exists AS INT
      EXEC master..xp_fileexist @filename, @file_exists OUTPUT
      RETURN @file_exists
    END
    GO
    -- test
    SELECT dbo.fn_file_exists('c:\a.txt')
    Best Regards, Uri Dimant SQL Server MVP http://dimantdatabasesolutions.blogspot.com/ http://sqlblog.com/blogs/uri_dimant/

  • Exporting data from SQL Server database to Oracle database

    Hello All,
    We need to replicate a table's data of SQL Server database to Oracle database.
    Can this task be accomplished using Import/Export wizard or Linked servers?
    Can help me regarding which Oracle data access components should i download to do this?
    I am using SQL Server 2012.
    And i have Oracle 11g release 2 client installed in my system.
    Thanks in Advance.
    Thanks and Regards, Readers please vote for my posts if the questions i asked are helpful.

    Yes you can definitely transfer data from SQL server to Oracle Have a look at below links
    Export SQL server data to Oracle Using SSIS
    Use OLEDB data provider to transfer data from SQL server to Oracle
    Using Import Export Wizard
    Similar thread
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • HP Expert Day - January 9-10, 2013: Tough questions? Ask the Experts!

    Thank you for coming to Expert Day – the event has now concluded.
    **To find out about future HP Expert Day events, check out this page**
    On behalf of the Experts, I would like to thank you for coming to the Forum to connect with us.  We hope you will return to the boards to share your experiences, both good and bad.
    We will be holding more of these Expert Days on different topics in the months to come.  We hope to see you then!
    If you still have questions to ask, feel free to post them on the Forum – we always have Experts on the HP Support Forum to help you out.
    Do you have questions using or setting up your HP notebook, desktop PC, or printer?
    Well, we’ve got answers.
    Experts will be on the notebook, desktop, and printer and all in ones boards ready to answer your questions from Wednesday, January 9th 7:00am to Thursday, January 10th 7:00am Pacific Time.
    How the day works:
    Come to the Forums and ask your tech questions. More than 250 experts will be on the Forums and will do their best to help you out. An online conversation will be born!
    Why should you come to the Forums?
    Whether you own an HP Spectre notebook, Envy printer, or an HP home desktop computer, there has never been a better chance to learn about your product.
    When do you have a chance to talk directly with the people who designed the product or wrote the manual for it?
    This will be your opportunity to connect with the best and brightest minds at HP for free.
    We’ll share our knowledge on the best ways to:
    Tweak your product to increase performance;
    Troubleshoot the issue you are having;
    Upgrade to Windows 8 or Mountain Lion MacOS;
    Set up a Wireless network;
    Safeguard your PC from viruses and spyware;
    Choose the right power supply, upgrade your video card, or add the right amount of memory;
    Use the tools built into your product that can make it run better and fix common problems;
    Ensure you have the correct print driver;
    Get the most out of Win8 – learn tips and tricks;
    And it’s FREE.
    It doesn’t matter how old the product is or what it is connected to. We will do our best to help.
    In addition to the Consumer Forum, Expert Day will also be occurring here:
    Enterprise Business Forum (January 9th from 7:00am to January 10th 7:00am PT)
    Looking forward to seeing you on January 9th!
    I work for HP, supporting the HP Experts who volunteer their time and technical knowledge to help others.
    --Say "Thanks" by clicking the Kudos Star in the post that helped you.
    --Please mark the post that solves your problem as "Accepted Solution"

    My HP, purchased in June 2012, died on Saturday.  I was working in recently installed Photoshop, walked away from my computer to answer the phone and when I came back the screen was blank.  When I turned it on, I got a Windows Error Recovery message.  The computer was locked and wouldn't let me move the arrow keys up or down and hitting f8 didn't do anything. 
    I'm not happy with HP.  Any suggestions?

  • Integrating Reports from SQL Server Reporting Services

    Dear Experts,
    I am given the URL to a report from SQL Server Reporting Services. The URL looks like
    [http://<report_server_host>/ReportServer/Pages/ReportViewer.aspx?/<category>/<report>&<list_of_parameter_value_pairs>]
    When this URL is executed, the user will be prompted for user name and password.
    And I am given the following requirements:
    - Integrate the report into SAP NetWeaver Portal
    - The report has to be passed parameters with values generated at runtime and which must be hidden (because it is sensitive data)
    Initially, I have been working on two options:
    1. using Application Integrator (portal application: com.sap.portal.appintegrator.sap, portal component: Generic)
    2. using URL iView
    With the Application Integrator, however, I got the following error:
    The operation you are attempting on item "/" is not allowed for this item type. (rsWrongItemType)
    I cannot find the solution to this. It looks like the URL which contain "/" after "?" is not appropriate for the Application Integrator.
    So I turn my focus away from the Application Integrator, but to using the URL iView instead. And in order to hide the parameters passed, I make the following settings in the URL iView:
    Request Method = POST
    Fetch Mode = Server-Side
    But then I got the following error:
    Failed to fetch the content. The response status was 401.
    Message:
    (I have defined an HTTP system and used it in the URL iView.)
    Does anyone know how to fix the errors (either with the Application Integrator or the URL iView)?
    Your answers will be much appreciated!
    Regards
    Sakprasat Sum

    Hi
    Was a solution for this found?
    I am trying to achieve the same thing, create an iView that links to an existing SQL Reporting Services report.
    Cheers,
    Andrew

  • Best way to import data to multiple tables in oracle d.b from sql server

    HI All am newbie to Oracle,
    What is the Best way to import data to multiple tables in Oracle Data base from sql server?
    1)linked server?
    2)ssis ?
    If possible share me the query to done this task using Linked server?
    Regards,
    KoteRavindra.

    check:
    http://www.mssqltips.com/sqlservertip/2011/export-sql-server-data-to-oracle-using-ssis/
          koteravindra     
    Handle:      koteravindra 
    Status Level:      Newbie
    Registered:      Jan 9, 2013
    Total Posts:      4
    Total Questions:      3 (3 unresolved)
    why so many unresolved questions? Remember to close your threads marking them as answered.

  • Is it possible to load a dump file collected from sql server to orcle 10gR2

    Hi..
    As a part of data migration from legacy systems , we need to migrate only required tables from Sql server to Oracle 10gr2 .
    At present client is telling that he will give it as dump file.
    My question is , Is it possible to load the dump file collected from sql server to oracle 10gR2?
    Thanks in advance ..

    yes, it is.
    Using for example SQL Developer Migration Workbench even allows you to create unload scripts for the desired SQL Server tables and it also creates the DDL scripts for you to create the Oracle tables similar to the SQL Server table AND it alows creates the SQL*Loader scripts that allow you to load the SQL Server generated dump file into the Oracle db.
    Here the link:
    http://www.oracle.com/technology/tech/migration/workbench/index_sqldev_omwb.html
    If you do not want to use this utility, you can also use SQL*Loader to load the content of the SQL Server dump file into the Oracle database; but in this case you have to write the whole SQL*Loader control scripts on your own.
    Edited by: kgronau on Sep 16, 2009 1:54 PM

Maybe you are looking for

  • Cant sync, error code -53

    hi guys can anyone help me out. I have had alot of problems and no solutions fixing my ipod lately, originally after connecting and trying to sync i was getting error message -48 pop up and various others. i tried putting ipod ino disc mode, runnigh

  • Cannot Install Sql Server 2008, Gives The Error "Database Engine Services Failed"

    I cannot install Sql Server 2008 R2 on Windows 8. Tried many times but failed because it gives the error "Database Engine Services Failed". Sql files cannot be corrupted because i can install the same setup on Windows 7 and i can connect to databases

  • Charging iPad + using it = Ugh?

    Helo Id luv to ask, does charging a ipad and using it in the mean time may or could reduce battery life? It is a popular and common fact for many devices.im really sad and wondering and would like to know the true answer.

  • Ovi Suite Software Updates-Error No internet Conne...

    My Phone Nokia 5800 Xpress Music.. Ovi Software update fails while cheking for updates pops up Network Connection error dialog Nokia Ovi Suite software update service is not responding Make sure the internet connection is working or check firewall se

  • 5800 Software update from v11 to v20

    Hello all, I stay in Nigeria and i have been trying to update my 5800. Nokia website tells me there is and update for my phone and when i use OTA or NSU, it tells me no available update.  Can anyone help? My product code is 0577493. Thanks Cyebog