Need a basic command in sql pls...

HI all,
I am beginner in sql, when i write the query like this "select * from tab;" this query brings all unwanted tables,i just want to see only my tables which i have created pls some one tell me.I showed below how it look likes.
Thanking u all.
SQL> selec * from tab;
SP2-0734: unknown command beginning "selec * fr..." - rest of line ignored.
SQL> select * from tab;
TNAME TABTYPE CLUSTERID
SYSCATALOG SYNONYM
CATALOG SYNONYM
TAB SYNONYM
COL SYNONYM
TABQUOTAS SYNONYM
SYSFILES SYNONYM
PUBLICSYN SYNONYM
MVIEW$_ADV_WORKLOAD TABLE
MVIEW$_ADV_BASETABLE TABLE
MVIEW$_ADV_SQLDEPEND TABLE
MVIEW$_ADV_PRETTY TABLE
TNAME TABTYPE CLUSTERID
MVIEW$_ADV_TEMP TABLE
MVIEW$_ADV_FILTER TABLE
MVIEW$_ADV_LOG TABLE
MVIEW$_ADV_FILTERINSTANCE TABLE
MVIEW$_ADV_LEVEL TABLE
MVIEW$_ADV_ROLLUP TABLE
MVIEW$_ADV_AJG TABLE
MVIEW$_ADV_FJG TABLE
MVIEW$_ADV_GC TABLE
MVIEW$_ADV_CLIQUE TABLE
MVIEW$_ADV_ELIGIBLE TABLE
TNAME TABTYPE CLUSTERID
MVIEW$_ADV_OUTPUT TABLE
MVIEW$_ADV_EXCEPTIONS TABLE
MVIEW$_ADV_PARAMETERS TABLE
MVIEW$_ADV_INFO TABLE
MVIEW$_ADV_JOURNAL TABLE
MVIEW$_ADV_PLAN TABLE
MVIEW_WORKLOAD VIEW
MVIEW_FILTER VIEW
MVIEW_LOG VIEW
MVIEW_FILTERINSTANCE VIEW
MVIEW_RECOMMENDATIONS VIEW
TNAME TABTYPE CLUSTERID
MVIEW_EVALUATIONS VIEW
MVIEW_EXCEPTIONS VIEW
AQ$_QUEUE_TABLES TABLE
AQ$_QUEUES TABLE
AQ$_SCHEDULES TABLE
AQ$_INTERNET_AGENTS TABLE
AQ$_INTERNET_AGENT_PRIVS TABLE
DEF$_AQCALL TABLE
DEF$_AQERROR TABLE
AQ$_DEF$_AQCALL_F VIEW
AQ$DEF$_AQCALL VIEW
TNAME TABTYPE CLUSTERID
DEF$_ERROR TABLE
AQ$_DEF$_AQERROR_F VIEW
AQ$DEF$_AQERROR VIEW
DEF$_DESTINATION TABLE
DEF$_CALLDEST TABLE
DEF$_DEFAULTDEST TABLE
DEF$_LOB TABLE
DEF$_TEMP$LOB TABLE
DEF$_PROPAGATOR TABLE
DEF$_ORIGIN TABLE
DEF$_PUSHED_TRANSACTIONS TABLE
TNAME TABTYPE CLUSTERID
OL$ TABLE
OL$HINTS TABLE
OL$NODES TABLE
LOGMNR_SESSION_EVOLVE$ TABLE
LOGMNR_HEADER1$ TABLE
LOGMNR_HEADER2$ TABLE
LOGMNR_UID$ TABLE
LOGMNRC_DBNAME_UID_MAP TABLE
LOGMNR_DICTSTATE$ TABLE
LOGMNR_DICTIONARY$ TABLE
LOGMNR_OBJ$ TABLE
TNAME TABTYPE CLUSTERID
LOGMNR_USER$ TABLE
LOGMNRC_GTLO TABLE
LOGMNRC_GTCS TABLE
LOGMNRC_GSII TABLE
LOGMNR_TAB$ TABLE
LOGMNR_COL$ TABLE
LOGMNR_ATTRCOL$ TABLE
LOGMNR_TS$ TABLE
LOGMNR_IND$ TABLE
LOGMNR_TABPART$ TABLE
LOGMNR_TABSUBPART$ TABLE
TNAME TABTYPE CLUSTERID
LOGMNR_TABCOMPART$ TABLE
LOGMNR_TYPE$ TABLE
LOGMNR_COLTYPE$ TABLE
LOGMNR_ATTRIBUTE$ TABLE
LOGMNR_LOB$ TABLE
LOGMNR_CDEF$ TABLE
LOGMNR_CCOL$ TABLE
LOGMNR_ICOL$ TABLE
LOGMNR_LOBFRAG$ TABLE
LOGMNR_INDPART$ TABLE
LOGMNR_INDSUBPART$ TABLE
TNAME TABTYPE CLUSTERID
LOGMNR_INDCOMPART$ TABLE
LOGMNRP_CTAS_PART_MAP TABLE
LOGMNRT_MDDL$ TABLE
LOGMNR_LOG$ TABLE
LOGMNR_PROCESSED_LOG$ TABLE
LOGMNR_SPILL$ TABLE
LOGMNR_AGE_SPILL$ TABLE
LOGMNR_RESTART_CKPT_TXINFO$ TABLE
LOGMNR_ERROR$ TABLE
LOGMNR_RESTART_CKPT$ TABLE
LOGMNR_FILTER$ TABLE
TNAME TABTYPE CLUSTERID
LOGMNR_PARAMETER$ TABLE
LOGMNR_SESSION$ TABLE
LOGSTDBY$PARAMETERS TABLE
LOGSTDBY$EVENTS TABLE
LOGSTDBY$APPLY_PROGRESS TABLE
LOGSTDBY$APPLY_MILESTONE TABLE
LOGSTDBY$SCN TABLE
LOGSTDBY$PLSQL TABLE
LOGSTDBY$SKIP_TRANSACTION TABLE
LOGSTDBY$SKIP TABLE
LOGSTDBY$SKIP_SUPPORT TABLE
TNAME TABTYPE CLUSTERID
LOGSTDBY$HISTORY TABLE
REPCAT$_REPCAT TABLE
REPCAT$_FLAVORS TABLE
REPCAT$_REPSCHEMA TABLE
REPCAT$_SNAPGROUP TABLE
REPCAT$_REPOBJECT TABLE
REPCAT$_REPCOLUMN TABLE
REPCAT$_KEY_COLUMNS TABLE
REPCAT$_GENERATED TABLE
REPCAT$_REPPROP TABLE
REPCAT$_REPCATLOG TABLE
TNAME TABTYPE CLUSTERID
REPCAT$_DDL TABLE
REPCAT$_REPGROUP_PRIVS TABLE
REPCAT$_PRIORITY_GROUP TABLE
REPCAT$_PRIORITY TABLE
REPCAT$_COLUMN_GROUP TABLE
REPCAT$_GROUPED_COLUMN TABLE
REPCAT$_CONFLICT TABLE
REPCAT$_RESOLUTION_METHOD TABLE
REPCAT$_RESOLUTION TABLE
REPCAT$_RESOLUTION_STATISTICS TABLE
REPCAT$_RESOL_STATS_CONTROL TABLE
TNAME TABTYPE CLUSTERID
REPCAT$_PARAMETER_COLUMN TABLE
REPCAT$_AUDIT_ATTRIBUTE TABLE
REPCAT$_AUDIT_COLUMN TABLE
REPCAT$_FLAVOR_OBJECTS TABLE
REPCAT$_TEMPLATE_STATUS TABLE
REPCAT$_TEMPLATE_TYPES TABLE
REPCAT$_REFRESH_TEMPLATES TABLE
REPCAT$_USER_AUTHORIZATIONS TABLE
REPCAT$_OBJECT_TYPES TABLE
REPCAT$_TEMPLATE_REFGROUPS TABLE
REPCAT$_TEMPLATE_OBJECTS TABLE
TNAME TABTYPE CLUSTERID
REPCAT$_TEMPLATE_PARMS TABLE
REPCAT$_OBJECT_PARMS TABLE
REPCAT$_USER_PARM_VALUES TABLE
REPCAT$_TEMPLATE_SITES TABLE
REPCAT$_SITE_OBJECTS TABLE
REPCAT$_RUNTIME_PARMS TABLE
REPCAT$_TEMPLATE_TARGETS TABLE
REPCAT$_EXCEPTIONS TABLE
REPCAT$_INSTANTIATION_DDL TABLE
REPCAT$_EXTENSION TABLE
REPCAT$_SITES_NEW TABLE
TNAME TABTYPE CLUSTERID
SQLPLUS_PRODUCT_PROFILE TABLE
PRODUCT_PRIVS VIEW
PRODUCT_USER_PROFILE SYNONYM
HELP TABLE
USERS TABLE
ZONE TABLE
COUNTRY TABLE
161 rows selected.
SQL>
Edited by: 785709 on Aug 4, 2010 11:16 PM

You connect as a system so from user_tables you got all the tables which belongs to system.
select *
from dba_tables
where owner = 'TSTSCHEMA';
Regards
Asif Kabir
*785709*      
     Newbie
Handle:      785709
Status Level:      Newbie
Registered:      Aug 1, 2010
Total Posts:      5
Total Questions: *3 (3 unresolved)*
Name      eswar
Location      bangalore
Occupation      student
-- Mark your helpful post as correct/helpful and close all the answered threads.

Similar Messages

  • How to edit a WFP application through a Visual Basic command console?

    Hi, I'm currently working on a little project of mine, based mostly on a Visual Basic command console, and I've had the idea to add a console-controlled Windows Form.
    What the console will eventually do is run, say, 1000 x 1000 [(1,1), (1,2), (1,3)... (574, 349), (574, 350)...] items through into a list, and then these million-or-so entries will use their assigned values as the x and y co-ordinates for
    the form, as well as little bits and bobs that will be added as I go along.
    Right now, the thing on my mind is this; How do I make, or access, or run, etc. a form, then load this code into it? I've been heading down some reference path with dependents and other stuff and I don't think it's going to carry me anywhere unless I ask
    the question directly.
    The main plan I have in mind is being to access the controls that a Windows Form has, using the VB console, e.g. Form1.Shape.AddRectangle (x,y) or something.
    If this is even possible, which I'm starting to doubt to my dismay, could you give me an absolute, and I mean that from top to bottom, every aspect fleshed out, preferably on the assumption that I don't even know what a file is, detailed walkthrough?
    Because I don't want to ask questions to the answers to my question.
    Thanks :)

    Items and bits and bobs doesn't have much meaning to me.
    If you want to create a Form from a Console app that is simple. Prior to launching the Form provide whatever you want to it I suppose.
    Whatever you attempt to provide to the form may need references added. Therefore you can research that on your own using the
    MSDN Library search engine which should keep anybody else from having to perform "top to bottom, every aspect fleshed out, preferably on the assumption that I don't even know what a file is, detailed walkthrough" since if you don't know
    anything you should be attempting to learn. And if anything is outside your scope of knowledge that you need to know to do whatever you want to do you should research and learn that. Not ask anybody else to do it for you or provide you baby step instructions
    for doing so.
    It's possible trying to provide 1000000 items and bits and bobs to a form will fail or your app may not have the memory allocated for doing that. And it's probably a poor idea too.
    Option Strict On
    Imports System.Windows.Forms
    Imports System.Drawing
    Module Module1
    Sub Main()
    Dim f2 As New Form
    f2.Left = 10
    f2.Top = 10
    f2.Text = "Test Form"
    f2.Width = 241
    f2.Height = 271
    Dim PB As New PictureBox
    PB.Width = 225
    PB.Height = 225
    PB.Left = 0
    PB.Top = 0
    PB.Image = Image.FromFile("C:\Users\John\Desktop\Picture Files\CrossBones PNG.Png")
    f2.Controls.Add(PB)
    f2.ShowDialog()
    Console.ReadLine()
    End Sub
    End Module
    La vida loca

  • The basic command "caps on" is not working in dictation.

    I love dictation in the new Mac OS X; I even prefer it over Dragon Dictation because it's so convenient and I don't have to grab a headset to begin using it. I do a lot of professional writing for my job–and frequently need to type phrases that are title case. After upgrading to Mavericks I can no longer use the basic command, "caps on." It worked in the last version of OS X– but no longer. It's very frustrating.
    My system software is 10.9.5.
    Any idea how I can resolve this?

    Dictation is compromised by Pages v5.2.2 on Mavericks where the capitalization commands are literally transcribed, ignored, or cause an infinite processing loop. However, the dictation capitalization commands actually work in TextEdit, and Pages ’09 v4.3 on Mavericks. I recommend using what works, and lower your frustration threshold, as there is no fix for Pages v5.2.2 on Mavericks.

  • 11.5.10.2 to R12.1.1 upgrade: jtfpfstart.sql : PLS-00905: object APPS.JTF_PF_CONV_PKG is invalid

    Hello,
    EBS version : 11.5.10.2
    DB version : 11.2.0.3
    OS version : AIX 6.1
    As a part of 11.5.10.2 to R12.1.1 upgrade, while applying merged 12.1.1 upgrade driver(u6678700.drv), we got below error :
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ATTENTION: All workers either have failed or are waiting:
               FAILED: file jtfpfstart.sql on worker  1.
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Worker LOG :
    Start time for file is: Wed Aug 07 2013 14:53:36
    sqlplus -s APPS/***** @/fmstop/r12apps/apps/apps_st/appl/jtf/12.0.0/patch/115/sql/jtfpfstart.sql &un_apps &un_jtf
                dbms_aqadm.drop_queue_table(queue_table=>JTF_PF_CONV_PKG.QTABLENAME, force=>true);
    ERROR at line 23:
    ORA-06550: line 23, column 47:
    PLS-00905: object APPS.JTF_PF_CONV_PKG is invalid
    ORA-06550: line 23, column 6:
    PL/SQL: Statement ignored
    ORA-06550: line 27, column 45:
    PLS-00905: object APPS.JTF_PF_CONV_PKG is invalid
    ORA-06550: line 27, column 2:
    PL/SQL: Statement ignored
    ORA-06550: line 28, column 38:
    PLS-00905: object APPS.JTF_PF_CONV_PKG is invalid
    ORA-06550: line 28, column 2:
    PL/SQL: Statement ignored
    ORA-06550: line 29, column 39:
    PLS-00905: object APPS.JTF_PF_CONV_PKG is invalid
    ORA-06550: line 29, column 2:
    PL/SQL: Statement ignored
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    So far I have done below :
    SQL> ALTER PACKAGE APPS.JTF_PF_CONV_PKG compile;
    Warning: Package altered with compilation errors.
    SQL> show error
    Errors for PACKAGE APPS.JTF_PF_CONV_PKG:
    LINE/COL ERROR
    30/3     PL/SQL: Declaration ignored
    30/39    PLS-00201: identifier 'JTF_PF_PAGE_OBJECT_TABLE' must be declared
    66/3     PL/SQL: Declaration ignored
    66/33    PLS-00201: identifier 'JTF_PF_TABLETYPE' must be declared
    SQL> ALTER PACKAGE APPS.JTF_PF_CONV_PKG compile body;
    Warning: Package Body altered with compilation errors.
    Found Upgrade 11i to R12.1.3 worker fails on jtfpfstart.sql PLS-00905: object APPS.JTF_PF_CONV_PKG is invalid (Doc ID 1463373.1) which has fixed JTF_PF_TABLETYPE.
    drix10:/fmstop/r12apps/apps/apps_st/appl/admin/FMSTEST/log>cd $JTF_TOP/patch/115/xdf
    drix10:/fmstop/r12apps/apps/apps_st/appl/jtf/12.0.0/patch/115/xdf>tnsping $TWO_TASK
    TNS Ping Utility for IBM/AIX RISC System/6000: Version 10.1.0.5.0 - Production on 07-AUG-2013 15:03:59
    Copyright (c) 1997, 2003, Oracle.  All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=drix10)(PORT=1541)) (CONNECT_DATA=(SID=FMSTEST)))
    OK (0 msec)
    drix10:/fmstop/r12apps/apps/apps_st/appl/jtf/12.0.0/patch/115/xdf>
    drix10:/fmstop/r12apps/apps/apps_st/appl/jtf/12.0.0/patch/115/xdf>adjava -mx512m -nojit oracle.apps.fnd.odf2.FndXdfCmp apps apps \
    > apps apps thin drix10:1541:FMSTEST type \
    > jtf_pf_tabletype.xdf $FND_TOP/patch/115/xdf/xsl
                         Copyright (c) 2002 Oracle Corporation
                            Redwood Shores, California, USA
                                        AD Java
                                     Version 12.0.0
    NOTE: You may not use this utility for custom development
          unless you have written permission from Oracle Corporation.
    Reading product information from file...
    Reading language and territory information from file...
    Reading language information from applUS.txt ...
      Temporarily resetting CLASSPATH to:
      "/fmstop/r12apps/apps/apps_st/appl/ad/12.0.0/java/adjava.zip:/fmstop/r12apps/apps/tech_st/10.1.3/appsutil/jdk/lib/dt.jar:/fmstop/r12apps/apps/tech_st/10.1.3/appsutil/jdk/lib/tools.jar:/fmstop/r12apps/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/rt.jar:/fmstop/r12apps/apps/apps_st/comn/java/lib/appsborg.zip:/fmstop/r12apps/apps/tech_st/10.1.2/forms/java:/fmstop/r12apps/apps/tech_st/10.1.2/forms/java/frmall.jar:/fmstop/r12apps/apps/tech_st/10.1.2/jlib/ewt3.jar:/fmstop/r12apps/apps/tech_st/10.1.2/j2ee/OC4J_BI_Forms/applications/formsapp/formsweb/WEB-INF/lib/frmsrv.jar:/fmstop/r12apps/apps/apps_st/comn/java/classes"
      Calling /fmstop/r12apps/apps/tech_st/10.1.3/appsutil/jdk/jre/bin/java ...
    XDF file application started. Current time is: Wed Aug 07 15:04:40 CDT 2013
    ================================================================================
    Applying XDF file : jtf_pf_tabletype.xdf
    ================================================================================
                  Copyright (c) 2003 Oracle Corporation
                     Redwood Shores, California, USA
             XDF(XML Object Description File) Comparison Utility
                            Version 1
    NOTE: You may not use this utility for custom development
          unless you have written permission from Oracle Corporation.
    Type JTF_PF_TABLETYPE does not exist in APPS
    Creating Type
          CREATE OR REPLACE TYPE "APPS"."JTF_PF_TABLETYPE" as table of varchar2(2000);
    Start time for statement above is Wed Aug 07 15:04:40 CDT 2013
    End time for statement above is Wed Aug 07 15:04:41 CDT 2013
    SQL> ALTER PACKAGE APPS.JTF_PF_CONV_PKG compile;
    Warning: Package altered with compilation errors.
    SQL> show error
    Errors for PACKAGE APPS.JTF_PF_CONV_PKG:
    LINE/COL ERROR
    30/3     PL/SQL: Declaration ignored
    30/39    PLS-00201: identifier 'JTF_PF_PAGE_OBJECT_TABLE' must be declared
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    I could not see any doc on metalink or google talking about JTF_PF_PAGE_OBJECT_TABLE.
    Please help.

    Please try the following:
    1. Drop the following objects (take a backup of the tables first) using:
    SQL> create table JTF.JTF_PF_REPOSITORY_TMP_BKP as select * from JTF.JTF_PF_REPOSITORY_TMP;
    SQL> create table JTF.JTF_PF_REPOSITORY_BKP as select * from JTF.JTF_PF_REPOSITORY;
    SQL> drop table JTF.JTF_PF_REPOSITORY_TMP;
    SQL> drop table JTF.JTF_PF_REPOSITORY;
    SQL> drop synonym APPS.JTF_PF_REPOSITORY_TMP;
    SQL> drop synonym APPS.JTF_PF_REPOSITORY;
    2. Run the jtfpfcreate command:
    $ sqlplus -s apps/<apps_pws> @$JTF_TOP/patch/115/sql/jtfpfcreate.sql APPS JTF
    3. Recreate the missing objects:
    $ adjava -mx512m -nojit oracle.apps.fnd.odf2.FndXdfCmp apps apps apps apps thin "<hostname>:<port>:<SID>" all $JTF_TOP/patch/115/xdf/jtf_pf_tabletype.xdf $FND_TOP/patch/115/xdf/xsl
    $ adjava -mx512m -nojit oracle.apps.fnd.odf2.FndXdfCmp apps apps apps apps thin "<hostname>:<port>:<SID>" all $JTF_TOP/patch/115/xdf/jtf_pf_page_object_table.xdf $FND_TOP/patch/115/xdf/xsl
    $ adjava -mx512m -nojit oracle.apps.fnd.odf2.FndXdfCmp apps apps apps apps thin "<hostname>:<port>:<SID>" all $JTF_TOP/patch/115/xdf/jtf_pf_techstack_table.xdf $FND_TOP/patch/115/xdf/xsl
    $ adjava -mx512m -nojit oracle.apps.fnd.odf2.FndXdfCmp apps apps apps apps thin "<hostname>:<port>:<SID>" all $JTF_TOP/patch/115/xdf/jtf_pf_trackpurpose_table.xdf $FND_TOP/patch/115/xdf/xsl
    4. Drop unused queue objects:
    begin
    DBMS_AQADM.DROP_QUEUE_TABLE (queue_table => 'JTF_PF_LOGGING_TABLE', force => TRUE);
    end;
    5. Restart the failed worker using adctrl
    Regards,
    Hussein

  • Deploying basic command line to multiple PCs

    Hi,
    I am trying to execute this basic command line to multiple PCs from SCCM.
    netcfg /c s /I MS_Server
    If I execute it locally with elevated permissions, it works fine
    If I execute it locally without elevated permissions, it doesn't work
    When I try to create a package in SCCM to run this command line, it is showing as it succeeded but when I look at the execmgr.log on the client machine, it says it failed with error code 1.
    Someone can give me a hint of what I could try?
    Thank you!

    To my knowledge, you do not need to 'install' File & Printer Sharing, it's just a firewall port configuration on Windows clients. This could be configured through Group Policies.
    Also, your command is for Windows PE as refrenced here:
    http://technet.microsoft.com/pt-pt/library/hh875638%28v=ws.10%29.aspx

  • BAM Deployment error - Microsoft.BizTalk.Bam.Management.BamManagerException: The BAM deployment failed. --- Microsoft.BizTalk.Bam.Management.BamManagerException: Encountered error while executing command on SQL Server "ServerName".

    HI,
    I am getting below error while deploying BAM activity ...Pls help me resolve this issue.
    Microsoft.BizTalk.Bam.Management.BamManagerException: The BAM deployment failed. ---> Microsoft.BizTalk.Bam.Management.BamManagerException: Encountered error while executing command on SQL Server
    "ServerName". ---> System.Data.SqlClient.SqlException: An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or
    [] are not allowed. Change the alias to a valid name.An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed.
    Change the alias to a valid name.An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias
    to a valid name.An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name.An
    object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name.An object or column
    name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name.An object or column name is missing
    or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name.An object or column name is missing or empty. For
    SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name.An object or column name is missing or empty. For SELECT INTO statements,
    verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name.An object or column name is missing or empty. For SELECT INTO statements, verify each column
    has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name.An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For
    other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name.An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements,
    look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name.   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) 
     at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock,
    Boolean asyncClose)   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)   at
    System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean
    sendToPipe, Int32 timeout, Boolean asyncWrite)   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()   at Microsoft.BizTalk.Bam.Management.SqlHelper.ExecuteBatches(String cmdText)   at Microsoft.BizTalk.Bam.Management.SqlHelper.ExecuteNonQuery(String
    cmdText, CommandType cmdType, Boolean inTransaction, Transaction transaction)   --- End of inner exception stack trace ---   at Microsoft.BizTalk.Bam.Management.SqlHelper.ExecuteNonQuery(String cmdText, CommandType cmdType, Boolean inTransaction,
    Transaction transaction)   at Microsoft.BizTalk.Bam.Management.ViewModule.Create(XmlDocument defXmlDoc)   at Microsoft.BizTalk.Bam.Management.WorkerModule.DispatchOperation(OperationType operation, XmlDocument defXmlDoc)   at
    Microsoft.BizTalk.Bam.Management.BamManager.ProcessOneBamArtifactType(BamArtifactType bamArtifact, OperationType operation)   at Microsoft.BizTalk.Bam.Management.BamManager.ManageInfrastructure(OperationType operation)   at Microsoft.BizTalk.Bam.Management.BamManager.Deploy() 
     --- End of inner exception stack trace ---   at Microsoft.BizTalk.Bam.Management.BamManager.Deploy()   at Microsoft.BizTalk.Bam.Management.BamManagementUtility.BamManagementUtility.HandleDeployAll()   at Microsoft.BizTalk.Bam.Management.BamManagementUtility.BamManagementUtility.DispatchCommand() 
     at Microsoft.BizTalk.Bam.Management.BamManagementUtility.BamManagementUtility.Run()   at Microsoft.BizTalk.Bam.Management.BamManagementUtility.BamManagementUtility.Main(String[] args)

    Your View Name, OLAP Cube Name and certain other restrictions listed @http://msdn.microsoft.com/en-us/library/aa561577.aspx
    Please review your BAM Definitons.
    Regards.

  • OLAP commands at sql*plus

    Hi there,
    I installed on my computer the Analytic Workspace Manager 11g to manage olap cubes by using this page http://www.oracle.com/technology/products/bi/olap/index.html. It is a very useful tool which really helped me on building and quering tools, but i wasn't able to find any staff about how to do all this at command prompt "sql*plus".
    So, I would like to know how i can work with olap using commands at a proper command prompt like sqlplus. To be more specific i need commands which:
    1. Define dimensions,levels,hierarchies and cubes at command prompt!
    2. Load data on dimension tables and cubes!
    Also, could you give me a tutorial which organises all OLAP commands?
    Note: If there is no other way but to use the tool i just said, It would be helpful to tell me!

    All metadata/object creation is via the OLAP API (which is Java) so you can't create dimensions and cubes via SQL Plus. You can, however, manage cube maintenance using the dbms_cube package (which can, of course, be called from SQL Plus). See http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/d_cube.htm#CFHGDJAA

  • Run os commands with sql

    dear all,
    is it possible to run os commands with sql commands as follows :
    SQL> ALTER system kill session '1764,60569'; ! kill -9 12151
    2 /
    ALTER system kill session '1764,60569'; ! kill -9 12151
    ERROR at line 1:
    ORA-00911: invalid character
    kai
    os version : solaris 5.10.. db : 10.2.0.4.0

    Kais,
    What exact error are you getting running this script and what's OS (is it linux RH?? If you can post errors on running this script, that will be helpful. I tested on both cygwin (my desktop) and liunx box but you can change as needed) and to kill process from script you can use
    echo `kill -9 pid`
    Hope this helps
    #!/bin/bash
    typeset username=$1
    function readSqlstmt {
    typeset stmt=$1
    echo "
    set feedback off
    set verify off
    set heading off
    set pagesize 0
    whenever sqlerror exit 1
    whenever oserror exit 2
    $stmt;
    exit
    " | sqlplus -S '/as sysdba >> test.log
    function killpid {
    killpidsql=killpid.sql
    sqlplus -s '/as sysdba' << ENDOFSQL >> test.log
    whenever sqlerror exit 1
    whenever oserror exit 2
    SET pagesize 0
    SET verify off
    SET feedback off
    SPOOL ${killpidsql}
    SELECT 'ALTER system kill session ''' || s.sid || ',' || s.serial# || ''';'
    FROM v\$session s, v\$process p
    WHERE s.paddr = p.addr AND s.status = 'INACTIVE';
    SPOOL OFF
    @${killpidsql}
    ENDOFSQL
    killpid
    readSqlstmt "SELECT p.spid FROM v\$session s, v\$process p WHERE s.paddr = p.addr AND s.status = 'INACTIVE'" | while read u
    do
         #echo "kill -9" $u >> test.log
         echo "Killing inactive oracle process..."
    echo `kill -9 $u`
    done

  • Do I still need to run the catupgrd.sql??

    Hi
    I would like if I install the Oracle in the following procedure, do I still need to run the catupgrd.sql.
    1. Install Oracle 10.2.0.1 software only( i.e. without create any database instance)
    2. Install Oracle 10.2.0.2 patch
    3. Create an Oracle Instance using DBCA
    Do I still need to run the catupgrd.sql for the newly created database instance?
    Denis

    Do I still need to run the catupgrd.sql for the newly created database instance?No, you don't. Because database was created on already patched software.

  • Oracle 10.2 on AIX -- need to connect to remote SQL server by dblink

    oracle 10.2 on AIX -- need to connect to remote SQL server by dblink
    i didn't see a odbc diectory in our oracle home path. how do i know odbc driver is installed in the oracle on our AIX server.
    If it is there, do i just need to modify the odbc.ini and then the inithsodbc.ora, linster.ora, tnsnammes.ora files, or am I missing something
    Appreciate your response
    Edited by: user10876711 on May 12, 2011 9:18 AM
    Edited by: user10876711 on May 12, 2011 9:18 AM

    when you want to connect from Oracle to a SQl Server you need the Oracle Gateway (HSODBC or even better Dg4ODBC) and a FOREIGN ODBC DRIVER for your foreign database - a SQL Server ODBC driver. You have to get this driver from a 3rd party vendor - Oracle does not offer any foreign ODBC drivers.
    So before being able to use DG4ODBC/HSODBC you need to install from a 3rd paryt vendor a SQL Server ODBC driver. Commercial vendrs are for example Data Direct, Openlink or Easysoft.
    On Unix ODBC drivers commonly also require a driver manager. If the ODBC driver vendor does not ship one with the ODBC driver you can get it from www.unixodbc.org

  • Copy command in SQL

    What is the Copy Command in SQL ?

    COPY Command is used to COPY database table from one Schema to another Schema.

  • COPY command in SQL*Plus 8.1.6 returns ORA-65535

    The COPY command in the windows version of SqlPlus (SQLPLUSW) does not work any more. I get the following error
    << Array fetch/bind size is 5. (arraysize is 5)
    Will commit after every array bind. (copycommit is 1)
    Maximum long size is 80. (long is 80)
    ERROR:
    ORA-65535: Message 65535 not found; product=RDBMS; facility=ORA >>
    Interestingly, I can run the same COPY command successfully if I use SQLPLUS.exe ( the command line version ). No error & it completes the copy.
    I recently changed my Oracle client from 7.3 to v8.1.6.
    I had not encountered this problem with the same command in v7.3.

    You may have run into bug 1504702. As a workaround you will need to use command line, as you've already figured out. I don't think a patch is available for Windows yet, although there is for Solaris (in the 8.1.7.4 patch set).
    Alison

  • Xcopy Command From Sql

    Dear Guru's,
    I have Script of my all the procedure.
    After all procedure gets execute, As a output it create .csv files.
    This .csv files i manually copy past on one of my directory.
    For avoiding this manual copy past i want to use xcopy command from sql itself.
    Please guide me how do i do this.
    Regards,
    Chanchal wankhade.

    CHACHA wrote:
    I have Script of my all the procedure.
    After all procedure gets execute, As a output it create .csv files.
    This .csv files i manually copy past on one of my directory.
    For avoiding this manual copy past i want to use xcopy command from sql itself.
    Please guide me how do i do this.Do not like the sound of the architecture you are using for this. Scripts? Scripts for Oracle should be limited to installing s/w.
    Writing any kind of Oracle application using scripts, is questionable ito design, robustness, flexibility, security and so on.
    Wanting to use console commands from a SQL cursor? That sounds even more broken and wrong. If you want to do o/s calls, it should be done carefully and securely from PL/SQL code.
    And PL/SQL code should be inside the database - not outside in some script.
    As for copying files. Realise that SQL and PL/SQL code executes on the server inside an Oracle server process. This does not have access to your client's file system and directories.

  • Filler and Skip command in SQL Loader

    Hai Gurus !
    Can Any help me to send code for filler and skip command in SQL Loader. and please explain about filler, for what purpose it is used.

    Have you checked on the documentation? Filler is explained for example in the chapter Field List Reference.
    C.

  • Is there a command in sql

    hi all,
    is there any command in sql like CREATE DIMENSION
    Thanks and Regards,
    Sri Ram.
    Edited by: Sri Ram on 19-Oct-2010 02:46

    http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/statements_5006.htm#SQLRF01206

Maybe you are looking for