Can't view tables in SQL database

Hi,
I'm using DW CS4 to connect to SQL server 2005. I can connect to my database, but when I try to create a recordset, the only tables I can view or select is everything in the System Tables and System Views - not the tables that I actually want to select.
e.g.
dbo.dtproperties
INFORMATION_SCHEMA.CHECK_CONSTRAINTS
INFORMATION_SCHEMA.COLUMN_DOMAIN_USAGE
etc.
I guess this is to do with administering SQL server but even going through SQL server documentation online I can't seem to figure it out. Is it to do with Views and/or schemas in SQL server management studio? Please help!

Have you connected to the database using SQL Server Management Studio and looked at the tables and fields to be sure all is in order?
Lawrence   *Adobe Community Expert*
www.Cartweaver.com
Complete Shopping Cart Application for
Dreamweaver, available in ASP, PHP and CF

Similar Messages

  • Can't view tables in rs window?

    I am trying to work on a page/site that someone else began
    outside of DW.
    The code currently includes a file with it's own connection
    string:
    CONN = "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=[path];
    and the page works fine up on the site. This original page is
    very simple
    and loops to list some data from the database as plain text.
    When I try to make the connection in DW, however, while I CAN
    make a
    successful connection in the connection string window, once I
    am at the
    recordset window I can't view any of the database tables or
    queries.
    I looked up the problem online and found suggestions to use
    ODBC connections
    instead of OLEDB connections -- tried that, but same results.
    I get an
    error when I try to view the tables:
    Error calling GetTables:
    an unidentified error has occurred.
    Anyone have a solution??

    I too am currently having this problem. HELP.
    when I try to create a recordset to an ACCESS database, i get
    the same error...
    error calling getTables; an unidentifed error has occurred.
    I dont handle the server...I am just a lonely servant. the
    admin is telling me nothing has occured on his end....so Im
    thinking it has to be a macromedia issue.
    now Im finding others with the same problem.
    but is there a fix.

  • Viewing tables in sql plus

    hai friends.,
    i created a java database pgm using jdbc:odbc connectivity, that creates a table in the database and i inserted some records in that table. how can i view those table and records in the sql plus. what commands are used to view those table
    regards.,
    sekar

    Hi sekar,
    Interesting, you're able to do a 'CREATE TABLE bla...' but are not familiar with 'SELECT'? I would suggest to read some basic stuff about SQL statements. What will you do when the next task is: "Hey, I need a pgm to change these values in the table!"?
    Regards,
    Guido

  • Crystal view table or SQL view table

    In Crystal and SQL there have lot of View tables.  What kind of table called View table?  What's the difference with tables without view prefix?
    I think view tables are few tables linked together for designers to use instead need to link few tables by themselves.  
    How to create view table and the purpose using view tables?

    Hi,
    A view tables is, in essence, a virtual table. It does not physically exist. Rather, it is created by a query joining one or more tables.
    [click here|http://en.wikipedia.org/wiki/View_(database)]
    You can search on the web for more samples.
    Regards,
    Clint
    Edited by: Clint T. Pauyon on Jul 13, 2009 7:58 AM

  • How can i retrive image from sql database

    hi
    i have a problem.i want to retrive image stored in a table in binary form.how can i retrive the image from the table and show it in my page how can i do this? i have a sql database.plz help me out....

    hi
    my java file has compiled now i have made these changes plz see
         public InputStream getBinaryStream(String colname) throws Exception
              return rs.getBinaryStream(colname);
         public boolean GetSig() throws Exception
              boolean b=false;
              try
                   ps=myConn.prepareStatement("Select Sign from Signatures where Accode='1201780000000083' ");               
                   rs=ps.executeQuery();
                   b=true;
              catch(Exception e)
                   System.out.println("This is the problem"+e);
              return b;
    //          now how can i get it in my jsp page and disply the image in my page i am writing this code in the jsp file
    SIGN.makeConnection();
                                                      if(SIGN.GetSig())
                                                                while(SIGN.getNext())
                                                                               Stream Signatures=SIGN.getBinaryStream("Sign");
                                                                               System.out.println("Signatures is"+Signatures);
    %>
    <%=Signatures%>
    <%                                                                                                                                                                          }
                                                 SIGN.takeDown();
    %>
    this error is coming in the browser
    org.apache.jasper.JasperException: Unable to compile class for JSPD:\jakarta-tomcat-3.2.2\work\localhost_8080%2Fbackoffice\_0002fcdsl_0002fsignatures_0002ejspsignatures_jsp_0.java:96: Class cdsl.Stream not found.
                                                                               Stream Signatures=SIGN.getBinaryStream("Sign");
    plz see...i am waiting for reply

  • Can i create table in a database procedure?

    Hello
    Can i create a table in a database procedure?
    create or replace procedure create_table is
    tt number;
    begin
    create table temp (
    a number,
    b varchar2(100));
    end;
    it return an error....
    regards,
    deemy

    Hello
    Can i create a table in a database procedure?
    create or replace procedure create_table is
    tt number;
    egin
    create table temp (
    a number,
    b varchar2(100));
    end;
    it return an error....
    regards,
    deemy
    create or replace procedure create_table is
    tt number;
    begin
       execute immediate 'create table temp (a number,b varchar2(100))';
    end;
    /Cheers
    Sarma.

  • Apex 4.0 - Can see view data in SQL*Plus but no data in Object Browser

    Hi There,
    I have just started using Apex 4.o and migrated some apps. I have an issue with a report, but see the same issue with Object browser, which is easier to describe.
    I have a view:
    create or replace view V_PLJ_USERDEF_CODES (
             CODE_SET_ID,
             CODE_SET_CODE,
             CODE_SET_DESC,
             CODE_ID,
             CODE_SYS_CODE,
             CODE_VALUE,
             CODE_DESC,
             DISPLAY_SEQ,
             DISPLAY_FLAG,
             LANGUAGE_CODE) as
      select CS.CODE_SET_ID,
             CS.CODE_SET_CODE,
             CS.CODE_SET_DESC,
             C.CODE_ID,
             C.CODE_SYS_CODE,
             C.CODE_VALUE,
             C.CODE_DESC,
             C.DISPLAY_SEQ,
             C.DISPLAY_FLAG,
             C.LANGUAGE_CODE
        from PLJ_CODES C,
             PLJ_CODE_SETS CS
       where C.CODE_SET_ID         = CS.CODE_SET_ID
         and CS.CODE_SET_TYPE_CODE = SYS_CONTEXT('PLJUMPSTART','C_USERDEF_CODE_SET');This returns data in SQL*Plus, but no data in Object Browser OR report region based on this view.
    Workspace parses in the same schema as tested in SQL*Plus.
    If, in report, I swap out view, and use underlying table - no problem.
    Any ideas -
    thanks
    P

    Hi all,
    Thanks for getting back so promptly.
    It just seems weird to me, as tables are just fine, but not views.
    In the underlying schema:
    SQL> sho user
    USER is "ICSREPORTING"
    SQL> select count(*) from plj_codes;
      COUNT(*)
           107
    SQL> select count(*) from v_plj_userdef_codes;
      COUNT(*)
            29And in the APEX schema
    SQL> sho user
    USER is "APEX_040000"
    SQL> select count(*) from icsreporting.plj_codes;
    select count(*) from icsreporting.plj_codes
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL> select count(*) from icsreporting.v_plj_userdef_codes;
    select count(*) from icsreporting.v_plj_userdef_codes
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL>However, in SQL browser, I can see the data in PLJ_CODES but in V_PLJ_USERDEF_CODES, just the message "This view has no data". Indeed, it is like this for all views.
    I even explicitly granted access to APEX_040000 but no good.
    In fact, I would like to know more about how Apex gets access to do DML against the underlying parsing schema(s).
    This is a little frustrating though. It worked just fine in lots of apps in version 2.1 to 3.2
    Am I missing something
    paul
    p.s I knew there would be a question about the context, but I had already checked that. :)
    Edited by: PJ on Nov 19, 2010 4:09 AM

  • Get "Creation Script" of the existing table ( in SQL database) using C# and without using SMO dlls

    Hi All,
    I need to get the "Creation Script" of the existing table using c# and without using SMO dlls (is it possible? I don't know).
    I.e. In SQL Management Studio -> right click on any table -> Script table as -> Create To  - > open in the new query editor window. This will give you the schema of the table with the constraints of the table.
    For E.g. In Northwind database, for the table "Categories", I would like to get it as show below
    USE [Northwind]
    GO
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[Categories](
        [CategoryID] [int] IDENTITY(1,1) NOT NULL,
        [CategoryName] [nvarchar](15) NOT NULL,
        [Description] [ntext] NULL,
        [Picture] [image] NULL,
     CONSTRAINT [PK_Categories] PRIMARY KEY CLUSTERED
        [CategoryID] ASC
    )WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
    ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
    GO
    I would like to get the same schema using c#. Please help.
    Thanks & Regards,
    Kalai.

    SMO is the easiest way to get this. This is what Management Studio uses. If you can't use SMO, get a Profiler trace of the queries that SMO executes when generating the script and execute the same using ADO.NET.
    Regards,
    Farooq Mahmud
    Support Escalation Engineer 
    •  Microsoft Health Solutions Group

  • Can Oracle view refer a table in Sql Server Database

    Can a view created in Oracle database refer a table created in SQL Server database. If yes, how do we do it. Code will be very help full.
    Again, if yes does it require any special software and what would be price of that software.
    Thanks for your response in advance.
    Venkat Sathiamurthy

    You would need to configure Oracle Heterogeneous Connectivity to create a database link to the SQL Server system. This can either be done via the Oracle Transparent Gateway for Microsoft SQL Server, which retails for $15,000 per server at http://store.oracle.com or by configuring Oracle Generic Connectivity and using ODBC to go after the SQL Server data. Depending on the operating system you run Oracle on, there may be a free (or cheap) ODBC driver for SQL Server that could be used.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • How to update or populate table in SQL server from PL/SQL

    Hello - I am starting in the fascinating world of PL/SQL. One of the first task I've been assigned is to rewrite a code (basically I was thinking of creating a package with proc included) on PL/SQL that updates and/or populates tables in MS SQL Server. How should I do this? Is it doable? I guess it is. How can I call tables from others databases from PL/SQL? How to establish the conecction? where? It should be included in the package?
    Any help will be appreciated
    Thanks,
    CC

    See PL\SQL and SQL Server

  • VIEW XML IN SQL*PLUS

    how can we view xml on sql*plus?
    when xmltype is viewed on sql*prompt it shows incomplete xml.
    example:
    SQL> select xmlelement("ROOT",xmlforest(1 as A, 2 as B, 3 as C)) from dual;
    XMLELEMENT("ROOT",XMLFOREST(1ASA,2ASB,3ASC))
    <ROOT>
    <A>1</A>
    <B>2</B>
    <C>3</C>
    </ROOT>
    but i generate an xml from table so it becomes quite huge. say a forest is populated with 6-8 tags. it shows broken output.
    SQL> /
    ID LIST
    <DEPT>
    <EMPLOYEE>
    <ID>2109</ID>
    <ID>3108</ID>
    <ID>4107</ID>
    <ID>5106</ID>
    <ID
    i have tried increasing bufferwidth and bufferlength tp max value (1000 and 2000 respectively) eventhen it displays the output as shown above.
    how can i view my xml?

    use this sql plus command:
    set long 2000000
    You can increase\decrease the value as required.

  • DISPLAY UNDEFINE TABLES IN SQL PLUS

    i am using Oracle 10g
    for last 1 week i seen unrecognized table names in my user while i issue following command
    SQL > select * from tab;
    table name like ......BIN$ and many other characters after it...
    i cannot drop that table also
    from DBA studio above table can't view but from SQL PLUS it display as table
    what i have to do to drop such tables ? please give advice

    These are recyclebin tables. A normal 'drop table' command puts a table into the recyclebin, you can get it back through 'flashback drop' command. Use 'purge user_recyclebin' to delete the tables finally.
    Werner

  • What is te best way to copy a table from a database to another?

    Hello friends:
    I have two databases: an Access database and an Oracle database. I must copy the data from al tables from the Access database to the oracle database. The tables in the both databases are equal (number of columns, type, etc).
    I read an resultset from acces (select * from table1) and I insert every row in the Oracle database with an while loop (while (r.next)...). It works fine when there are a few rows, but I have a table with over 200000 rows, and when I'm copying the row number 30.000, the system goes very slow...
    How can I copy tables from a database to another more quickly?
    Thanks!

    CASE #1
    The most efficient method would be to copy all the rows from Microsoft Access and write them to a text file using Access's native interface (not JDBC), then use Oracle's SQL Loader utility (not JDBC) to insert the data.
    You can insert 200,000 rows of 80 bytes each in 30 seconds or less even on a modest Oracle system using SQL Loader. The extract from Access is very dependent on the size of the CPU and the available memory.
    Hint 1: Avoid explicit or implict network traffic.
    Hint 2: Extract and load from local drives rather than networked or shared drives on other services
    Please note that this is done for efficiency of load, but has issues related to error checking, and operational scripting.
    Anything else you do or use will be slower than the method (above).
    CASE #2
    If you want to integrate this into a single JDBC program which will provide better operational management of the process, then you can simply connect to both databases in your Java program, then read the rows one at a time from Access, insert them using the Batch mechanism of JDBC to Oracle. You will also want to set the FetchSize in Oracle to a larger value then the default (i.e set it to 100 vs 10).
    Hint #3 You may want to look into alternative JDBC drivers for accessing MS Access, rather than the JDBC-ODBC bridge which is not optimized for MS Access. You may also want to consider using the OCI8 driver from Oracle rather than the thin driver. Both provide Type 4 functionality but I have heard (not experienced) that the OCI8 driver is better for managing batch style of processing like yours
    Good luck!
    Joel

  • Website can't communicate with db - SQL Express 2005

    Here's the error message: [Macromedia][SequeLink JDBC
    Driver][ODBC Socket][Microsoft][ODBC SQL Server Driver][SQL
    Server]Invalid object name.
    I have successfully connected to the db through coldfusion
    admin. I can see the tables in SQL Express 2005, manipulate them,
    etc... When I fire up my website, I get that error. I can't figure
    out how to solve this and I'm desperate at this point.
    Thanks for any help.

    Lol - I figured it out 5 minutes after I posted this (3 hours
    after this started). I had the driver pointing to the master
    database instead of the 'real' db beneath it. I had changed the
    settings previously, but they didn't take hold until I rebooted the
    server.
    ... will this MS nightmare never end? This is why I went to
    CF in the first place. CF works. MS is a series of endless
    patches.

  • Create Tables using sql.

    Hi Dear;
    can i create tables from SQL enterprise manager and not from SAP-BO without having problem in the upgrade?
    thank you Dear.

    Hi Adele,
    I never heard that there is any issue with additional / custom tables in a B1 <b>company</b> database.
    For certification there is no issue with that - except that you must use your SAP namespace also for these tables.
    For your reference I add here the current links to the page about Solution Certification (B1-SDK) + the Test Plan - which lists all requirements:
    B1-SDK: SAP BUSINESS ONE ADD-ON SOLUTION CERTIFICATION  (B1-SDK) [original link is broken]
    Test Plan: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/81a22ee1-0701-0010-45aa-ec852e882de3
    Regards,
    Frank
    Message was edited by: Frank Moebius
    PS: Adding tables to SBO-Common is a different game though since it is not expected that a partner adds tables there and <u>eventually</u> additional tables there might get removed during upgrades.
    If you have a need for additional data storage across all companies, please create a dedicated database for that purpose.

Maybe you are looking for