DESKI Report using Temp tables in MS- SQL server 2005

Hi,
I am trying to create a Free hand SQL DESKI report using temp tables in MS SQL Server-2005, I am using ODBC connection.
When I run the report, I am getting the error
u201CConnection or SQL sentence error (DA0005) No column or data to fetchu201D
Ex:
Select *
into #t1
from region
select * from #t1
drop table #t1
Please help.
Regards,
Pratik

Pratik, the SQL does not seem right. BTW you can only retreive data via Deski Free hand SQL. Also try to use OLE DB connection.

Similar Messages

  • Copy table from Ms SQL Server 2005 to Oracle with SSIS package

    Hi all
    I am witting an SSIS package to copy 2 tables from Ms SQL Server 2005 to an Oracle 10g database.
    Problem: I can only see the Microsoft OLDB Provider for Oracle and it is too slow. How can I use the Oracle ODBC in aMs SQL Server 2005 or building a .net SSIS package.
    thanks

    Yes I am able to see the driver on the Data Source (ODBC), I also created a connection to the Oracle database. The problem in Ms SQL Server 2005 is that the ODBC connection I created is not listed. None of the lo local connections are listed, only Microsoft OLEDB connections

  • XL Reporter on SBO2005 SP1 PL10 & MS SQL Server 2005

    Hi All,
    Has any1 installed XL Reporter on SBO 2005 SP1 that has MS SQL Server 2005???
    I keep getting an error....
    "Unable to connect to XL Reporter....
    User Authentication Failed.
    ......SQL Server does not exist or access is denied. Cant connect to database provider ........"
    Thanks.

    Hi Noor
    I'm pasting the SAP note for you:
    TCP/IP might not be enabled in the SQL Server Configuration Manager
    1.Properties for SQL server selected  to allow SQL server &
    Windows authentication.
    - To do this: In SQL server Management studio-Right click on Server -Properties - Security -
    choose Allow SQL server & Windows authentication
    2. Under Microsoft SQL Server 2005 -> configuration tools ->
    Configuration Manager - client protocols - enable the tcp/ip
    3.In SQL server configuration manager  SQL server 2005 Network configuration - enable the TCP/IP
    4. In SQL Server 2005 Surface Area Configuration
    - Surface Area Configuration for services and connections
    - Expand SQL 2005 - Database Engine - Remote Connections
    - Choose Local and remote connections and select using both TCP/IP nad named pipes
    5. In SQL Server Management Studio -> Right click on the server instance -> stop the service and start again.
    Hope this helps
    Daan

  • Reindex Table in MS SQL Server 2005

    Hi gurus,
    Is it possible or effective to reindex all SAP tables in SQL Server 2005?
    I've seen lot of example of re-indexing tables in SQL Server, but not in SAP environment (Since SAP Tables are really huge, around 77,000 tables).
    Should I defrag my database?
    I've executed DBCC SHOWCONTIG and found that some tables have logical defragment more than 70%.
    Is there any tcode in SAP to do re-index task?
    Thanks before gurus.

    Per SAP Note 1241422 - Database fragmentation and reindexing improves performance
    Summary
    Symptom
    During the lifetime of a database (any db not only SAP Business One) and due to insert\update\delete of data, the information in indexes is fragmented.  Fragmentation exists when indexes have pages in which the logical ordering, based on the key value, does not match the physical ordering inside the data file.  Heavily fragmented indexes can cause slow performance.
    Other terms
    Index, performance, re-index, reindex, slow, poor, DB
    Reason and Prerequisites
    FAQ
    Solution
    It is recommended to run a rebuild the following procedure once\twice a month:

  • Temp tables not dropped SQL Server 2012

    I have a server that houses a database application that makes heavy use of temp tables. It appears that temp tables are not getting dropped from the tempdb.  In perfmon the temp table count is hanging around 1000 and is not going down over time.
    Even if the programmers are not using drop table at the end of their sps, shouldn't these temp tables be cleaned up when they go out of scope?
    Jeff

     shouldn't these temp tables be cleaned up when they go out of scope?
    Hello Jeff,
    If global temp tables (##temp) are used, then they will be dropped if no session any longer reference this temp table. Local temp table will be dropped as soon as the session, which created the temp table, is closed.
    See CREATE TABLE (Transact-SQL) => Remarks => Temporary Tables
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Using DB Adapter for MS SQL Server 2005  SP in OSB 11g.

    Hi All,
    I have a requirement to create a DB Adapter for MS SQL Server Stored Procedure in JDeveloper and export the Adapter file to OSB 11g. I have Created the Adapter and imported it into OSB 11g successfully. Created the Datasource and Connection pool also in console.
    The problem is while trying to execute the created business Service, I am getting the error as below,
    <Oct 26, 2012 12:20:25 PM IST> <Error> <JCATransport> <BEA-381967> <Invoke JCA outbound service failed with application error, exception: com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/Test/CheckAppID/WL_Driver/CheckAppId_WL_Driver [ CheckAppId_WL_Driver_ptt::CheckAppId_WL_Driver(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'CheckAppId_WL_Driver' failed due to: Unimplemented string conversion.
    Conversion of JDBC type to String is not supported.
    An attempt was made to convert a Java object to String using an unsupported JDBC type: .
    ; nested exception is:
         BINDING.JCA-11804
    Unimplemented string conversion.
    My XSD is ,
    <element name="InputParameters">
    <complexType>
    <sequence>
    <element name="application_id" type="int" db:index="1" db:type="INT" minOccurs="0" nillable="true"/>
    </sequence>
    </complexType>
    </element>
    <element name="OutputParameters">
    <complexType>
    <sequence>
    <element name="RowSet0" type="db:RowSet0_RowSet" db:type="RowSet0" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
    <element name="RowSet1" type="db:RowSet1_RowSet" db:type="RowSet1" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
    </sequence>
    </complexType>
    </element>
    <complexType name="RowSet1_RowSet">
    <sequence>
    <element name="RowSet1_Row" minOccurs="0" maxOccurs="unbounded">
    <complexType>
    <sequence>
    <element name="cde" type="int" db:type="INT" minOccurs="0" nillable="true"/>
    <element name="msg" db:type="NVARCHAR" minOccurs="0" nillable="true">
    <simpleType>
    <restriction base="string">
    <maxLength value="255"/>
    </restriction>
    </simpleType>
    </element>
    </sequence>
    </complexType>
    </element>
    </sequence>
    </complexType>
    <complexType name="RowSet0_RowSet">
    <sequence>
    <element name="RowSet0_Row" minOccurs="0" maxOccurs="unbounded">
    <complexType>
    <sequence>
    <element name="aaa" type="boolean" db:type="BIT" minOccurs="0" nillable="true"/>
    <element name="bbb" db:type="NVARCHAR" minOccurs="0" nillable="true">
    <simpleType>
    <restriction base="string">
    <maxLength value="10"/>
    </restriction>
    </simpleType>
    </element>
    </sequence>
    </complexType>
    </element>
    </sequence>
    </complexType>
    I don't know why there is a datatype conversion error.
    Help me in resolving this.
    Regards,
    Nataraj R.

    Hi,
    I believe NVARCHAR is an unsupported type...
    The following document lists the supported data types for SQL Server stored procedures and functions... NVARCHAR is not in the list... :-(
    http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_db.htm#CHDEBEEE
    Hope this helps...
    Cheers,
    Vlad

  • Using CLR Integration functionality in SQL Server 2005 in CR 2008

    I have several CLR SQLProcedures in my SQL Database for performing performing complex selects with regex etc. These work exceptionally well form with Visual Strudio for retrieving a dataset. However from within Crystal Reports I can not see these stored procedures, so cannot use the to report on, which was the whole idea of creating them.
    Considering CLR Intergration has been around since 2004/5, I would have expected CR 2008 to be able to make use of them, but I can find no way to make them work.
    I hope some one can assist me in this quest.

    Mark,
    Hate to say this but I'm baffled. Until you actually do something with it, CR shouldn't even know that there is a difference between a T-SQL SP and a CLR SP.
    If nothing else, that's probably a good indication that the problem is either in the Native Client settings or at the server level.
    I did some Google searching but didn't find anything relevant.
    Sorry,
    Jason

  • Problem using odbc driver 10g with SQL Server 2005

    We are getting following error. Any solution?
    cannot retrieve the column codepage info from the OLE DB provider

    there is an additional error message
    The output column SR_CONTACT_POINT_ID (58) has a precision which is not valid. Precision must be between 1 and 38.

  • Creating multiple graphs dashboard in Crystal XI using a single View from MS SQL Server 2005

    How to create multiple graphs dashboard in Crystal XI using a single View from MS SQL Server 2005?
    I need to use Crystal XI and create a dashboard which shows some sales data and stuff, multiple graphs on a single screen.
    My tech team says they can display one graph per page but not 4 graphs on the same page as it uses a common view from SQL Server 2005.
    How to manage this? Can we call in multiple views / graphs in the same page? Say 4 graphs on the same page?
    We use ASP or .NET for calling crystal reports into the App.
    Regards,
    Akshay.
    INDIA

    Have you tried creating multiple sections, putting each graph in a separate section and then underlaying the sections so they appear next to each other?

  • Transactions using SQL Server 2005

    Hi,
    I use SBO 2005A, with SP01 and PL04. I have just realized that I can't use transactions (company object) because SQL Server 2005 doesn't support them. Help file says:
    "Using a meta data object in a transaction is available only while working with MSSQL 2000 bdatabase. For DB2, Sybase, and MSSQL 2005 databases this meta data objects are not applicable due to database limitations."
    Is there any way to use transactions in this DataBase??
    Thanks in advance,
    Dulce.

    "Metadata" in B1 / DI API means User-Defined Fields (UDF) / User-Defined Tables (UDT) / User-Defined Keys / User-Defined Objects (UDO)...
    ...which are used to administrate (add/update/remove) such DB objects which can be defined through the B1 aplication or DI API (not through DI Server).
    Usually Add-Ons use these "matadata" objects to add UDFs, UDTs etc.
    Besides adding the real DB objects to the DB some additional information is kept in administrative tables inside the particular company DB: UDFs => CUFD, UFD1; UDT => OUTB etc....
    This is NOT about the data inside a UDT (or in UDFs)!!!
    HTH

  • Migrate tables from Ms SQL Server 20005 to Oracle 10g

    Hi all,
    I am trying to migrate 10 table from Ms SQL Server 2005 to Oracle 10g. I started creating a SSIS package to transfer them but it always fail when it tries to create the tables.
    Questions:
    - Is there any other way to import Ms SQL Server 2005 tables to Oracle
    - also I need to create a scirp that will update these tables periodically
    any ideas?
    Thanks

    YingKuan is right. jsut to expound a little further. This will also allow you to have have scripts which you can run again and again or even schedule them regularly too.
    B

  • Using INET and DATADIRECT JDBC Drivers to connect MS SQL Server 2005

    Hi,
    I have reqmt to connect SQL server 2005 from ODI using INET and DATADIRECT JDBC drivers to test Local characters Encoding.
    In my case, Oracle is the Source and SQL Server 2005 is the Target. I have problem while interfacing Local Characters to SQL Server 2005 using com.microsoft.sqlserver.jdbc.SQLServerDriver driver( which is default driver provided by ODI). To fix local charatcters issue, I want to try using INET or DATADIRECT JDBC drivers. Please provide me the below of any one has used these Drivers to connect SQL Server 2005 from ODI.
    We are trying to connect to MS SQL Server 2005 from ODI Topology Mgr using INET and DATADIRECT JDBC Drivers. We need the following info to connect to the same,
    --> What are list of the drivers need to be placed in OraHome_1\oracledi\drivers path?
    --> Where can i get the latest driver versions.
    --> What are the JDBC DRIVER and URL formats.
    --> Any other additional configurations?
    --> Does these drivers support interfacing of Local character data.
    Please respond...
    Regards,
    Anil

    Check this article [HOW TO: SQL & JAVA|http://www.shahriarnk.com/Shahriar-N-K-Research-Embedding-SQL-in-C-Sharp-Java.html] for details on how to connect to SQL Server database from C#.NET database applications as well as Java database applications. It also describes how to pass embedded SQL queries (SELECT, INSERT, UPDATE, DELETE), calling stored procedures, pass parameters etc.

  • SQL server 2005 and MDM components

    Question:
    1) Could we make a repository with relevant tables in SQL server2005, and then import to MDM Console?
    2) Could we see the tables of one repository in SQL server 2005.e.g. In MDM console, one repository created with the name Test001, Test 001 has the main table and subtable as well as special table and Admin table. Now I want to see the same structure and same table name in SQL server 2005, can SQL server 2005 provide this possible? If it is possible, which component of SQL should we use?
    Thanks!

    Hi Alfred ,
    1) MDM Basically created tables in database according to its needs . I am not sure if SAP provided the way around
    2) Nope , Its not same structure in database . I only know <b>CM_History</b> is used to track the history . You can use MDM API's to access database .
    Hope this helps a little ,
    - An

  • Oracle InstantClient with Linked Server in Sql Server 2005

    We are trying to connect ORACLE server from sql server 2005 using Linked Server Feature in SqlServer 2005
    Generally Oracle Client software is needed for this activity in the sql server machine.
    Can we use "Oracle InstantClient" instead of "Oracle Client Software" to connect ORACLE using Linked Servers ?
    Please give us your views, any existing reports similar to this activity
    Thanks & Regards,
    Palani

    Thanks for your reply
    I agree that Oracle Client software is used to connect oracle from SQL SERVER 2005.
    But my doubt is can we use Oracle InstantClient instead of Oracle Client software to connect oracle from SQL SERVER 2005
    with respect to Oracle Instant Client - I would like to know the development steps (Not the installation steps of Oracle Instant Client in windows machine) to connect ORACLE server.
    Thanks & Regards,
    Palani

  • Transfer data from Oracle 7 to SQL server 2005

    Hello guys,
    I am new in Oracle and I need some help from you:
    I have an Oracle database 7 and I need to transfer some tables into MS SQL Server 2005.
    Is there any ORACLE utility (compatible with ver 7) to help me in this task?
    If not, what is the way to trasfer data from a Oracle database 7 to SQL Server 2005?
    Thank in advance

    SQL Server can access Oracle database via the Linked Database feature however I do not know if you could find a Oracle 7 database compatiable Oracle client to use with a SQL Server 2005 database. i would not even try to configure this.
    What I suggest is you use SQLPlus to spool out delimited data into flat files, copy/FTP etc ... those flat files to your SQL Server box, and use BCP to load the data into SQL Server.
    There have been numberous posts of generating delimited flat files from Oracle data posted here on the forum but here is one method that will work on version 7:
    How do I export a database table to a flat file ?
         http://www.jlcomp.demon.co.uk/faq/flatfile.html
    HTH -- Mark D Powell --

Maybe you are looking for

  • How to show current year and last year sales in a WEBI Report

    Hi Guys How can show current YEar Sales in one column and Last YEar Sales in the other column based on a user prompt for the Current YEar Column. For Example is user enter 2010 for Year how can i show a Column for Sales-2010 and Sales 2009. Thanks

  • Error While Posting MIRO of Imports PO

    Dear Sir When we are trying to post MIRO for Imports PO with Local currency we get following Error Enter rate INR/CHF rate type M for 16.05.2011 in the system settings For IV (Invoice Verification) we use currency CHF as our Vendor currency is CHF. B

  • Help - MacBook Pro Constantly Freezing

    Recently my MacBook Pro started freezing.   I have to turn it off in order to get it to work again.  I have checked permissions and verified the disk.   I though Carbonite was the problem, uninstalled it but it kept doing it.  below is the report fro

  • Selection fields

    Hello experts, I need to create two selection fields: sales office and sales group in selection screen before the output of the query and to display values in sales group field according to value selected in sales office field. Is it possible? Thanks

  • Safari PDF. Preview Download Problem

    I've had my Macbook Pro for about two years and have suddenly become unable to use the "Save PDF to Download Folder" option when Previewing documents in Safari. I've tried creating another account to test the problem, reseting safari and dragging the