Problem in creating DATA Model from SQL SERVER 2008 in BI PUBLISHER
Dear Team,
I connect BI Publisher with SQL SERVER 2008 But On creating Report on BI,when we create data model...dataset,
i select the tables but when i click on RESULT i am geting this error.
error--
[Hyperion][SQLServer JDBC Driver][SQLServer]Invalid object name 'DBNAME.DBO.TABLE'.
please resolve this problem...
Thanks,
Him
Edited by: h on Aug 22, 2011 6:31 PM
Hi David,
The things I said are not a fix for this problem.
If your RCU installation worked, then you do not have to worry about modifying the createfr.sql.
Edit:
I've just tracked the problem. It appears that when using the query builder, BI forgets to add the " sign.
For example:
This query will give the hyperion error.
select "table"."field"
from "database.user"."table"
To correct it write it like this:
select "table"."field"
from "database"."user"."table"
Edited by: EBA on Nov 14, 2011 10:21 AM
Similar Messages
-
SQL Developer Data Modeler for SQL Server 2008
I am not able to connect to my SQL Server 2008 from the SQL Developer Data Modeler. Although I do have jtds-1.2.jar on my machine and I can connect the SQL server through the SQL Developer, but still i'm not able to connect through the data modeler. I need to re-engineer and generate data model for some existing schemas.
Here is what I'm following:-
File->Data Modeler -> import -> Data Dictionary -> Add new connection -> JDBC ODBC Bridge -> Other Third Party Driver
now when I'm giving the JDBC URL and the Driver, It throws an error message stating that the driver could not be found.
Please let me know what I can do to solve this, any help would be appreciated.
Regards,
AVAI'd try 1st to connect to the db from sqldeveloper (through jtds - no ODBC involved) and see if you can browse your db and issue sql statements in a worksheet. Then export that connection in xml format and import that from the modeler.
-
Creating Data Source to SQL Server 2008 in SharePoint Designer 2013
Hello,
I have been trying to create a Data Source connection to a SQL Server 2008 Database. I use a custom string and I choose the table to display and hit ok. When I try to click on the connection to edit it I get the following error.Hi Derek,
According to your description, my understanding is that the error occurred when you edited the Data Source connected to SQL Server.
How did you create the Data Source connected to SQL server using custom string?
I recommend to connect to the database by saving the user name and password to see if the issue still occurs.
More information are provided in the link below:
http://office.microsoft.com/en-us/sharepoint-designer-help/add-a-database-as-a-data-source-HA010355745.aspx
Best regards.
Thanks
Victoria Xia
TechNet Community Support -
Create oracle table from sql server
Dear Gurus,
I need to create some tables from sql server 2008 to a oracle 11g database. Some tables contain vbinary datatype. Now my queries are
1. How can I do that?
2. If DB link is a solution then would you please provide me a step by step process to do so?
3. Is there any issue with datatype?
SQL Server db is on windows 2008 R2
Oracle is in RHEL 5.5
Will appreciate ur help.well suppose i generate flat files from sql server and load in oracle by sqlloader then will there be any issue with vbinary datatype? what should be the equivalent data type in oracle table?
-
Have trouble query after creating a linked server from SQL Server 2008 to EXCEL 2007
I created a linked server from SQL Server 2008 Management Studio Express to an EXCEL 2007 workbook using:
sp_addlinkedserver @server='LSERVER_EX0', @srvproduct='EXCELDATA', @provider='Microsoft.ACE.OLEDB.12.0', @datasrc='C:\Temp\abc.xlsx', @provstr='EXCEL 12.0'
The linked server LSERVER_EX0 was created, but I cannot see any table(excel sheet), and when i ran the following to query tables,
sp_tables_ex 'LSERVER_EX0'
I got:Cannot obtain the schema rowset "DBSCHEMA_TABLES" for OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "LSERVER_EX0". The provider supports the interface, but returns a failure code when it is used.
Any hint why?
on another note, i was able to import the EXCEL sheets using the Import and Export Data wizard, but i cannot control the column data type and size in this way.Open management studio, goto "Server Objects"->"Linked Servers"->Providers, select the provider you use, right click it and in provider options, check "Allow inprocess".
-
Migration from SQL SERVER 2008 to Oracle 10g issues.
Hi ,
I'm trying to migrate from SQL Server 2008 to Oracle 10g and I end up with some issues that I wanted to ask some info about it.
First, I was following a tutorial
http://st-curriculum.oracle.com/obe/db/hol08/sqldev_migration/mssqlserver/migrate_microsoft_sqlserver_otn.htm
and and in the last version of Oracle SQL developer I downloaded, I didn't find the Load Database Capture Script Output option.
My first question is how can I either add this option or is there a new way to load the capture script ?
Then I use the migration wizard and after following everything, I had the migration complete message from the application.
When I tried to open my connectionss, it tells me version 11.2 is required. Does that mean that Oracle SQL developper 3 only
do the migration for oracle 11g? And if I tried the previous versions, it doesn't support SQL server 2008.
What do I do in this case ?
Thanks !Thank you for your reply.
After using the wizard and made the offline migration script, in the Migration projects window I made a move data to the oracle connection I previously made and after when I tried to reopen the connection, I couldn't.
Well I didn't retry it yet to see if I'll have the same behavior but basically this is what I think I did. When I tried to open the connection I made, it says, Oracle 11.2 is required.
Now, I just generate target from the convert model and it says migration complete but how do I test it and I do I go to oracle and see change ?
Do I had to create a special user in SQL Server to log to it first ? How do I logon to it ?
Edited by: 873671 on Jul 20, 2011 7:03 AM
Edited by: 873671 on Jul 20, 2011 7:19 AM -
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/ -
Data services with SQL Server 2008 and Invalid time format variable
Hi all
Recently we have switched from DI on SQL Server 2005, to DS(Date Services) on SQL Server 2008. However I have faced an odd error on the query that I was running successfully in DI.
I validate my query output using a validation object to fill either Target table (if it passes), or the Target_Fail table (if it fails). Before sending data to the Target_Fail table, I map the columns using a query to the Target_Fail table. As I have a column called 'ETL_Load_Date' in that table, which I should fill it with a global variable called 'Load_Date'. I have set this global variable in the script at the very first beginning of the job. It is a data variable type:
$Load_Date = to_char(sysdate(),'YYYY.MM.DD');
When I assign this global variable to a datetime data type cloumn in my table and run the job using Data Services, I get this error:
error message for operation <SQLExecute>: <[Microsoft][ODBC SQL Server Driver]Invalid time format>.
However I didn't have this problem when I was running my job on the SQL Server 2005 using Data Integrator. The strange thing is that, when I debug this job, it runs completely successfully!!
Could you please help me to fix this problem?
Thanks for your help in advance.Thanks for your reply.
The ETL_Date is a datetime column and the global variable is date data type. I have to use the to_char() function to be able to get just the date part of the current system datetime. Earlier I had tried date_part function but it returns int, which didn't work for me.
I found what the issue was. I don't know why there were some little squares next to the name of the global variable which I had mapped to the ETL_Date in the query object!!! The format and everything was OK, as I had the same mapping in other tables that had worked successfully.
When I deleted the column in the query object and added it again, my problem solved. -
Read Money format from SQL Server 2008
Hi all,
i created a db link from oracle to sql server using Heterogeneous Connectivity, it works fine, i can read/write data from SQL Server 2008 but i can't read column with money format correctly, i got always a integer number.
Can anyone help me, please?
SergioHi Mark,
with the command
describe TEST@DL_SQLSERVER2008
i get the error :
Error: ORA-00904: "OBJECT_TYPE": invalid identifier
If i create a table :
CREATE TABLE TEMP AS (SELECT * FROM TEST@DL_SQLSERVER2008 );
the column of the table TEST with type MONEY is mapped to the type number(19,4)
With the query from SQL Server the output is :
Entita Serie Articolo Prezzo
1 AB 0207405 3,822
1 AB 0503019 3,60
1 AB 0509015 15,75
1 AB 0706015 1,96
1 AB 0810050 1,617
1 AB STANDARD 0,00
With the query from Oracle the output is :
Entita Serie Articolo Prezzo
1 AB 0207405 3
1 AB 0503019 3
1 AB 0509015 15
1 AB 0706015 1
1 AB 0810050 1
1 AB STANDARD 0
Thanks,
Sergio -
Transfer tables from sql server 2008 to oracle 11g
Hi ,
I have to transfer 2-3 tables (5 Lacs records each) from sql server 2008 to oracle Ent. 11g (platform Linux)
i have to upload data with some conditions.
not allowed to install oracle client on sql server for link server. i can get data in csv file
which will be the best possible way
1) using Db link on oracle server
2) get data into csv file and load using SQL loader
3) get data into csv and load using external table
4) using tool - sql developer
Thanx,user10188639 wrote:
Hi ,
I have to transfer 2-3 tables (5 Lacs records each) from sql server 2008 to oracle Ent. 11g (platform Linux)
i have to upload data with some conditions.
not allowed to install oracle client on sql server for link server. i can get data in csv file
which will be the best possible way
1) using Db link on oracle server
2) get data into csv file and load using SQL loader
3) get data into csv and load using external table
4) using tool - sql developer
Thanx,
>which will be the best possible way
which metric measures best? is higher or lower value better?
How will you, I or anyone recognize which option is best solution? -
"URl has already been reserved".
Reporting services for port 80 and 443 works fine both for reports and reportingserver on SQL server 2008 R2. But when I try to upgrade from SQL server 2008 R2 to 2012 this error pops up. How to make sure before upgrading regarding reporting services that
URL reserves and SSL are fine or how to fix reporting services are upgrade like repair install.
ThanksHi yashmitl,
In your case, please running the following command to check the current URL reservations on http.sys.
netsh http show urlacl
Then, please delete the URL reservation by executing the following command try to resolve the issue.
netsh http delete urlacl <url>
There is a similar issue, you can refer to it.
http://social.technet.microsoft.com/Forums/en-US/d5204dd3-e26d-4592-8ef0-a94005fc46a5/the-url-has-already-been-reserved?forum=sqlreportingservices
Hope this helps.
Regards,
Alisa Tang
Alisa Tang
TechNet Community Support -
Migration from SQL Server 2008 to Oracle 11g
Hi there,
I have a quick question, Anyone who have experienced to migration procedures,function from SQL Server 2008 to 11g R2. Is it possible? I migrated tables and views through Oracle heterogenious servinces but I am not sure about the fucntions and procedures.
Any help would be appreciated.
Warm regards,Automated conversions are possible. After these conversions the system will pretty much run. However, and it can be a pretty big HOWEVER, performance could well take a hit - which the uninitiated or SQL Server acolytes will seek to blame on Oracle not being very good. This is not actually the case.
You could be in for a major review and rewrite. Besides the syntax differences in the procedural languages, there is a huge - like really huge - difference in transaction control, isolation, and read consistency. Basically, keep in mind that Oracle reads do not block writes, writes do not block reads, and there are no dirty reads. Writes only block other writes. Thus, no coding 'tricks' are needed to get around these blockers. Oracle has global temporary tables that are generally used to help out those converting from SQL Server. In actuality, then are mostly not needed as you can almost always do your work in one SQL statement.
Read the concepts guide from cover to cover, then do it again, then start looking at what you need to do to convert your procedural code. -
Hi All ,
want to know what is improvement in FILEstram storage feature from SQL SERVER 2008 to SQL SERVER 2014
Regards,
ManishHello Manish,
See
What's New in SQL Server 2012
What's New in SQL Server 2014
Nothing really new around that feature.
Olaf Helper
[ Blog] [ Xing] [ MVP] -
JDeveloper 11.1.1.2.0 - Panel Dashboard using Data from SQL Server 2008
Hi All,
I am using JDeveloper 11.1.1.2.0 and am trying to create a cross application dashboard. This dashboard would show 2 panel's of data from an Oracle Database (Already completed this) and two panel's of data from a SQL Server 2008 Database.
I have successfully installed a SQL Server 2008 database locally on my machine. I have downloaded the JDBC drivers from the Microsoft website and I have two JAR Files:
* sqljdbc.jar
* sqljdbc4.jar
I have created a SQL Server connection within the JDeveloper connections panel and I can successfully query my database.
I have created a New application module and set its connection to a JDBC connection with the credentials specified within the Connections tab. I then added the two JAR files as libraries to the Model project and
ran the Application Module tester. This succesfully shows some records.
Within the View Project I Created a new page and dropped the View Object on as a table. I then go to Run the page and get an error relating to the JDBC drivier not being found. I have read a few posts about adding it to Weblogic lib files and modifying the start up scripts but can anyone give me a definitive working solution? I also tried changing my Application Module to using a DataSource, but I also have the same problem within the Weblogic console (it cannot create a data source for SQL SERVER as it does not have the drivers).
Any help is greatly appreciated.
ThanksThanks for the responses.
I have edited C:\oracle\Middleware\wlserver_10.3\common\bin\commEnv.cmd to add the entries as follows...
set WEBLOGIC_CLASSPATH=%JAVA_HOME%\lib\tools.jar;%BEA_HOME%\utils\config\10.3\config-launch.jar;%WL_HOME%\server\lib\weblogic_sp.jar;%WL_HOME%\server\lib\weblogic.jar;%FEATURES_DIR%\weblogic.server.modules_10.3.2.0.jar;%WL_HOME%\server\lib\webservices.jar;%ANT_HOME%/lib/ant-all.jar;%ANT_CONTRIB%/lib/ant-contrib.jar;%WL_HOME%\server\lib\sqljdbc.jar;%WL_HOME%\server\lib\sqljdbc4.jar
You can now see the additional entries at the end of the classpath.
The Weblogic home is set as follows set WL_HOME=C:\oracle\Middleware\wlserver_10.3
I have placed the files in C:\oracle\Middleware\wlserver_10.3\server\lib
I restarted the server. Logged into the Weblogic console and tried to create a datasource with the Microsoft Drivers but still no luck. I gave the Oracle Microsoft Driver a go and it seemed to work! I'm guessing that there is a driver bundle in. -
Data migration from SQL Server 6.5
Hi,
I would like to migrate data from SQL Server 6.5 to Oracle
8.0.5. I can create flat files using the BCP utility in SQL
Server, but how do I get my Oracle db to recognize the same?
Please help.
Regards
Urmi
nullsohail rana (guest) wrote:
: Hi Urmi,
: Could you please let me know the first step how from where you
: can use BCP utility in SQL Server so that you can get the flat
: file. I have one assignment to do migration.
: Please help
: regards
: Sohail rana
: Urmi (guest) wrote:
: : Hi,
: : I would like to migrate data from SQL Server 6.5 to Oracle
: : 8.0.5. I can create flat files using the BCP utility in SQL
: : Server, but how do I get my Oracle db to recognize the same?
: : Please help.
: : Regards
: : Urmi
There is a new feature in version 1.2.1 of the migration
workbench that will generate the BCP and SQL Loader scripts for
you.
Right mouse click on the 'Tables' component group in the Oracle
Model UI tree and click 'Generate Data Migrate Script...'.
This will place the scripts in the Log directory you have
specified in the Tools -> Options menu. Go to the Logging tab and
enter a valid value for 'Log file directory'.
The data move scripts will be located in the 'Log file
directory'\SQLServer6 directory.
null
Maybe you are looking for
-
I am trying to print a snapshot taken from a PDF multiple times on one page.
Reader Will not print multiple copies of a snapshot on one page. I read the help files for Acrobat itself and all it said was take the snapshot and print it. Does anyone know if Acrobat can print multiple copies of the snapshot on one page? From some
-
ASM Disk preparation for Datafiles and FRA in Oracle 10g RAC Inst
Dear Friends, Please clarify wheteher the below method is correct to confiure ASM disks for Datafiles and FRA Partitions provided by IT team for OCR and Voting Disk /dev/sda1 - 150 GB (For +DATA) /dev/sda2 - 100 GB (For +FRA) OS : RHEL 5.6 (64 Bi
-
Release Strategy in Purchase Order
Hi, Can any explain the usage of Release Strategy in Purchase Order. ganesh
-
Function module to read process order classification
Hi Experts, I appreciate if any experts come with a function module where we can pass process order number and get its classification details. Thanks in advance Regards Babu
-
Help decoding ByteArray from file
Hi guys, I was wondering if anybody could help me. I have a file that I am trying to parse, it is produced by an external piece of software that I have no control over, and the company that creates the software aren't been very helpful with giving me