Genuine SQL sent to database
Hi,
I'm new with ODI and I'm using a lot of variables, when I run the interface or a package the Operator tool only show me the "logic" SQL (with all the variable names), It's possible to see the exactly SQL sent to database, with all the content of the variables?? I need to debug the query and I can't!
Thank you!
the "genuine SQL"
if you open operator and click on the execution of you rsceneria/package and expand out the steps. if you expand the step to then see the task(s) below the step then if you double click the task and select the "Description" tab you will see the sql associated with the task however there are still "odi variables" in the code you will have to look at and expand the "variables" section the first step after the packages or scenario execution icon.
just watch out as the actual values may change in the package and hence you only see the last value assigned to the variable.
ps you should also set the logging level to atleast 3 to 5
Hope this helps.
Edited by: DavidGD on Feb 9, 2009 8:42 PM
Similar Messages
-
SQL sent to database in obiee 10g
Hi,
I am unable to see the SQL Query sent to Database in log file. Ony able to logical query. I have logged inwith Administrator and checked th eloglevel is 5.
How can I see the general sql query which was sent to database.
ThanksHi Srini,
Thanks for the reply.
I have cleared the cache in admintool (purge) and tried generating the report. In advanced tab also I have selected the option "Bypass Oracle BI Presentation Services Cache". It seems its because of Cache, able to see the databse query now.
Could you please explain how can I do this.
This would be with no other changes or use set variable disable_cache_hit=1;
How can I see the database query always.
Thanks. -
Problem converting captured SQL Server 2000 database to Oracle
Java(TM) Platform 1.6.0_17
Oracle IDE 2.1.1.64.45
Versioning Support 2.1.1.64.45
After creating MWREP user, granting it privileges and creating the migration repository, I have captured a small SQL Server 2000 database (1 table), but after performing "Convert to Oracle", I get the message that it has transformed correctly, but no converted model is shown. I was originally using the JRE supplied with SQL Developer 2.1.1, but replaced that with 1.6 U17 after researching the problem here.
The only message in the Migration Log is as follows:
Catalog RAC, Schema dbo coalesced to single schema dbo_RAC
The following message appears in the console:
SELECT DISTINCT(REF_ID_FK), REF_TYPE FROM MD_ADDITIONAL_PROPERTIES WHERE PROP_KEY IN (?) AND CONNECTION_ID_FK = ?
I have tried this with a more complex database, with no luck.
Any thoughts?I did an offline capture.
I used Tools->Migration->Third Party Database Offline Capture->Create Database Capture Scripts to generate scripts OMWB_OFFLINE_CAPTURE.BAT, SS2K_BCP_SCRIPT.BAT and sqlserver2000.ocp. Then the SQL Server DBA ran OMWB_OFFLINE_CAPTURE.BAT and sent me the output.
I used Tools->Migration->Third Party Database Offline Capture->Load Database Capture Scripts Output to capture the model into the repository successfully. -
Migrating from MS SQL Server 2005 database to Oracle 10g
Hello,
I wanted the full procedure or steps to Migrate the MS SQL Server 2005 database to Oracle 10g. Is there a known procedure to do this or is there a tool which is used?
I have not done migration of database from MS SQL Server to Oracle. Any help is appreciated. Thanks a lot for the time.
Regards,
RPSWrong forum, go to the database forum!
cu
Andreas -
How to restore SQL Server 2008 database to SQL Server Express 2012
How to restore SQL Server 2008 database to SQL Server Express 2012.
I BACKED UP a SQL Server 2008 database from work, which runs the enterprise version of 2008, and I tried to RESTORE it to my new 64-Bit home PC which is running the new SQL Server Express 2012 64-Bit (Advanced Edition).
But if fails. I get the following message text.
Can anyone help me please. I thought restoring a 2008 database to the later version 2012 would be possible.
Here is the error message. Thanks.
TITLE: Microsoft SQL Server Management Studio
Restore of database failed. (Microsoft.SqlServer.Management.RelationalEngineTasks)
ADDITIONAL INFORMATION:
System.Data.SqlClient.SqlError: The database was backed up on a server running version 8.00.2039. That version is incompatible with this server, which is running version 11.00.3128. Either restore the database on a server that supports the backup, or use a
backup that is compatible with this server. (Microsoft.SqlServer.SmoExtended)ADDITIONAL INFORMATION:
System.Data.SqlClient.SqlError: The database was backed up on a server running version 8.00.2039. That version is incompatible with this server, which is running version 11.00.3128. Either restore the database on a server that supports the
backup, or use a backup that is compatible with this server. (Microsoft.SqlServer.SmoExtended)
Are you sure your database is SQL server 2008 from error message it seems your SQL server version is 2000.I guess you have multiple versions of SQL server.
AFAIK you cannot restore backup of SQL server 2000 to 2012 directly .Restore it first to SQL 2008/2008R2 or 2005 then take backup again of new database created and then you would be able to restore it on 2012.Its kind of intermediate way
Also make sure your DB size is less than 10 G as max DB size supported by Express edition is 10 G and if your DB size is more than 10 G restore will fail.
You are also trying to restore enterprise DB backup on express edition so you will loose enterprise features on express edition
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
Build dynamic SQL query in Database Adapter.
Hi All,
I have a requirement to build dynamic sql query at Database Adapter.
My BPEL process is getting search spec as input from siebel. I need to process this searchspec in BPEL and need to build the SQL query dynamically at Database Adapter to fetch the records from DB.
it goes like this....
1. Sieble Search Spec: city1 OR city2 OR city3 OR city4 .....
I need to build query as
select * from S_ADDR_PER where city like 'city1' OR city like 'city2' OR city like 'city3' OR city like 'city4' ......
2. Siebel Search spec: city1 AND country1 AND state1....
I need to build query as
Select * from S_ADDR_PER where city like 'city1' AND country like 'country1' AND state like 'state1' ....
3. Siebel Search spec: state
I need to build query as
select * from S_ADDR_PER where state like '%state%';
Is it feasible in Database Adapter? if its Yes.
Any guidelines to achieve this?
Thank you
ChandraHi All,
I have a requirement to build dynamic sql query at Database Adapter.
My BPEL process is getting search spec as input from siebel. I need to process this searchspec in BPEL and need to build the SQL query dynamically at Database Adapter to fetch the records from DB.
it goes like this....
1. Sieble Search Spec: city1 OR city2 OR city3 OR city4 .....
I need to build query as
select * from S_ADDR_PER where city like 'city1' OR city like 'city2' OR city like 'city3' OR city like 'city4' ......
2. Siebel Search spec: city1 AND country1 AND state1....
I need to build query as
Select * from S_ADDR_PER where city like 'city1' AND country like 'country1' AND state like 'state1' ....
3. Siebel Search spec: state
I need to build query as
select * from S_ADDR_PER where state like '%state%';
Is it feasible in Database Adapter? if its Yes.
Any guidelines to achieve this?
Thank you
Chandra -
Dynamically Pass sql query in Database adapter
hi',
How can we dynamically pass sql query in Database adapter, is there any way, I am using SOA 11G.
Thanks
YatanHi,
Tried that too. No luck. Gives me this.
The selected operation process could not be invoked.
An exception occured while invoking the webservice operation. Please see logs for more details.
oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Exception occured when binding was invoked.
Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'selectUsingIn' failed due to: Pure SQL Exception.
Pure SQL Execute of select interface_id, property_name, property_value from ( (?) ) failed.
Caused by java.sql.SQLSyntaxErrorException: ORA-00903: invalid table name
The invoked JCA adapter raised a resource exception.
Please examine the above error message carefully to determine a resolution.
Regards,
Neeraj Sehgal -
Logging SQL parameters in Database Adapter??
Hi there!!
We'd like to be able to log all the parameters that are used in a SQL operation in Database Adapters. So far, we've been able to log the query with '?' instead of the real parameters. For example: select t.* from tsupcontact t WHERE t.idsupplier = ? AND t.idproject IS NULL AND (t.iduser = ? OR ? IS NULL)
But we need to be able to see the actual parameters that are passed to the query (we're having some trouble with the database adapters and we need to see what's really going on the database).
Any ideas? Thanks in advance!!You need to edit the the aslbdebug.xml file in ./user_projects/domains/<your domain>. Then go into the weblogic console and change the levels to debug. You will get lots of debugging. Below are the settings in my file.
<java:sb-debug-logger xmlns:java="java:com.bea.wli.debug">
<java:alsb-stages-transform-runtime-debug>true</java:alsb-stages-transform-runtime-debug>
<java:alsb-alert-manager-debug>false</java:alsb-alert-manager-debug>
<java:alsb-credential-debug>false</java:alsb-credential-debug>
<java:alsb-jms-reporting-provider-debug>false</java:alsb-jms-reporting-provider-debug>
<java:alsb-management-credential-debug>false</java:alsb-management-credential-debug>
<java:alsb-management-dashboard-debug>false</java:alsb-management-dashboard-debug>
<java:alsb-management-debug>false</java:alsb-management-debug>
<java:alsb-management-user-mgt-debug>false</java:alsb-management-user-mgt-debug>
<java:alsb-module-debug>true</java:alsb-module-debug>
<java:alsb-monitoring-aggregator-debug>false</java:alsb-monitoring-aggregator-debug>
<java:alsb-monitoring-debug>false</java:alsb-monitoring-debug>
<java:alsb-pipeline-debug>true</java:alsb-pipeline-debug>
<java:alsb-security-wss-debug>false</java:alsb-security-wss-debug>
<java:alsb-service-account-manager-debug>false</java:alsb-service-account-manager-debug>
<java:alsb-service-provider-manager-debug>false</java:alsb-service-provider-manager-debug>
<java:alsb-service-repository-debug>false</java:alsb-service-repository-debug>
<java:alsb-service-security-manager-debug>false</java:alsb-service-security-manager-debug>
<java:alsb-service-validation-debug>false</java:alsb-service-validation-debug>
<java:alsb-test-console-debug>true</java:alsb-test-console-debug>
<java:alsb-transports-debug>true</java:alsb-transports-debug>
<java:alsb-uddi-debug>true</java:alsb-uddi-debug>
<java:alsb-wsdl-repository-debug>false</java:alsb-wsdl-repository-debug>
<java:alsb-wspolicy-repository-debug>false</java:alsb-wspolicy-repository-debug>
<java:alsb-security-encryption-debug>false</java:alsb-security-encryption-debug>
<java:alsb-security-module-debug>false</java:alsb-security-module-debug>
<java:alsb-sources-debug>false</java:alsb-sources-debug>
<java:alsb-custom-resource-debug>true</java:alsb-custom-resource-debug>
<java:alsb-mqconnection-debug>false</java:alsb-mqconnection-debug>
<java:alsb-throttling-debug>false</java:alsb-throttling-debug>
<java:alsb-flow-resource-debug>false</java:alsb-flow-resource-debug>
<java:alsb-flow-transport-debug>false</java:alsb-flow-transport-debug>
<java:alsb-flow-deployment-debug>false</java:alsb-flow-deployment-debug>
<java:alsb-debugger-debug>true</java:alsb-debugger-debug>
</java:sb-debug-logger> -
Having trouble connecting SQL Developer to database on LINUX machine
Having trouble connecting SQL Developer to database on LINUX machine
Hello,
I am trying to connect my windows 7 home premium machine to an oracle database 11g on a RedHat 5 machine using SQL Developer. i got this error message on SQL Developer
Status : Failure - Test failed :The Network Adapter could not establish the connection
on Linux
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 03-APR-2013 16:13:13
Uptime 7 days 22 hr. 16 min. 41 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/11.2.0/db_1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.X.X.X)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "orc11g" has 1 instance(s).
Instance "orc11g", status READY, has 1 handler(s) for this service...
Service "orc11gXDB" has 1 instance(s).
Instance "orc11g", status READY, has 1 handler(s) for this service...
Service "orc11g_XPT" has 1 instance(s).
Instance "orc11g", status READY, has 1 handler(s) for this service...
The command completed successfully
LSNRCTL> and TNSPING
tnsping 172.x.x.x
TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 11-APR-2013 14:32:17
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
/u01/app/oracle/product/11.2.0/db_1/network/admin/sqlnet.ora
Used EZCONNECT adapter to resolve the alias
Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=172.x.x.x))(ADDRESS=(PROTOCOL=TCP)(HOST=172.x.x.x)(PORT=1521)))
OK (0 msec)
[oracle@ltebilling ~]$Tnsnames.ora On Linux ,
ORC11G =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.x.x.x)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orc11g)
)Listner on Linux ,
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.x.x.x)(PORT = 1521))
)/ect/hosts Linux ,
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
172.x.x.x LTEBillingand there is no problem of ping linux from windows
Edited by: user11309581 on Apr 11, 2013 3:16 PMyes really i'm already enaple the port 1521 and SELINUX=disabled
[root@ltebilling ~]# /etc/init.d/iptables status
Table: filter
Chain INPUT (policy ACCEPT)
num target prot opt source destination
1 RH-Firewall-1-INPUT all -- 0.0.0.0/0 0.0.0.0/0
Chain FORWARD (policy ACCEPT)
num target prot opt source destination
1 RH-Firewall-1-INPUT all -- 0.0.0.0/0 0.0.0.0/0
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
Chain RH-Firewall-1-INPUT (2 references)
num target prot opt source destination
1 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
2 ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 icmp type 255
3 ACCEPT esp -- 0.0.0.0/0 0.0.0.0/0
4 ACCEPT ah -- 0.0.0.0/0 0.0.0.0/0
5 ACCEPT udp -- 0.0.0.0/0 224.0.0.251 udp dpt:5353
6 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:631
7 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:631
8 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
9 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:1521
10 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22
11 REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibitedbut from windows system when i'm try tnsping i got this error
C:\Windows\system32>tnsping orc11g
TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 11-APR-2
013 14:44:09
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
D:\app\ubai\product\11.2.0\dbhome_2\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 172.x.x
.x)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orc11g))
TNS-12535: TNS:operation timed out
C:\Windows\system32> -
How to set the CLASSPATH for an Sql Server 2005 database... help me please
Hello! Guys I want to access a Sql Server 2005 database from Java.I've downloaded the JDBC 2.0 driver from Microsoft.I've copied the sqljdbc4.jar file to C:\Java\jdk1.6.0_14\db\lib.And I've added this to the classpath C:\Java\jdk1.6.0_14\db\lib\sqljdbc4.jar.The classpath variable is defined as a user variable.Well the point is that I get that nasty exception:Exception in thread "main" java.lang.ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver.So if you know how to help me,please do so.Thank you :)
Hi Timo,
My jdev version is 10.1.3.3.0, this is for R12. By PR i mean to say process request and PFR process form request in the controller.
In the Process request of the controller, i am finding the checkbox bean and assigning the firepartialaction for it.
Later in the process form request for the fired event, i am trying to handle the rendered property of the messagetextinput. Is this a right approach?
my code below
public void processRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
super.processRequest(oapagecontext, oawebbean);
OAApplicationModule oaapplicationmodule = oapagecontext.getApplicationModule(oawebbean);
OAMessageCheckBoxBean oamessagecheckboxbean = (OAMessageCheckBoxBean)oawebbean.findChildRecursive("X_FLAG");
if(oamessagecheckboxbean != null)
oapagecontext.writeDiagnostics(this, "Message check box Bean found:", 1);
FirePartialAction firepartialaction = new FirePartialAction("change");
oamessagecheckboxbean.setAttributeValue(PRIMARY_CLIENT_ACTION_ATTR, firepartialaction);
oamessagecheckboxbean.setFireActionForSubmit("change", null, null, true);
oapagecontext.writeDiagnostics(this, "setting fire event", 1);
public void processFormRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
super.processFormRequest(oapagecontext, oawebbean);
oapagecontext.writeDiagnostics(this, "Inside Process Form Request", 1);
if("change".equals(oapagecontext.getParameter(OAWebBeanConstants.EVENT_PARAM)))
OAMessageTextInputBean bean = (OAMessageTextInputBean)oawebbean.findChildRecursive("X_NUMBER");
if(bean!=null){
bean.setRendered(Boolean.TRUE);}
Thanks,
Malar -
SQL Anywhere 11 databases are getting corrupt
Hi
We are having problems with databases that are getting corrupted.
We have a server that runs a SQL Anywhere 11 database. (the consolidated database)
Beside that, we have about 15 remote databases that run on the laptops of our mobile workforces.
To keep all databases in sync, we have setup a two-way server-to-laptop replication.
For the replication process we use “SQL Remote”.
Each laptop should replicate his data once in about 1 or 2 weeks.
For exchanging the messages we use the message type “file”.
This year we already experienced 6 times that a remote database got corrupt after replication. (after running dbremote.exe).
The log file of the dbremote utility does NOT show any errors, the replication seems to be finished without any problems.
But after this, it’s not possible anymore to connect to the database, because of the following assertion error:
[Sybase][ODBC Driver][SQL Anywhere]Internal database error *** ERROR *** Assertion failed: 201501 (11.0.1.2376)
Page 0x0:0x7182d1 for requested record not a table page -- transaction rolled back
Error code=-301
SQL state=HY000
Can someone tell me more about this error?
What goes wrong and why?
Or does someone has some tips on how to prevent this or tips on how I can do some analyzing myself to see what exactly got broken in the database?
Any help is appreciated.
Thanks.Hi Krenton,
Page 0x0:0x7182d1 for requested record not a table page -- transaction rolled back
Error code=-301
SQL state=HY000
Can someone tell me more about this error?
Specifically, the page at offset 0x7182d1 in database (So if you have a 4KB page size, this would be byte offset 7439057 x 4096 = 30470377472 into the database) in 0x0 (the main database running) has a page header that indicates that the data on the page is not table data. We don't know what it is, but the signature for table information connected to the table you're scanning is 'not as it should be'.
What goes wrong and why?
In the real world, lots of things can go wrong. I list some of the possible things on this question here on the SQL Anywhere forum. This list can include software bugs, but can also include instances where the media is not respecting write-through or write-ordering - see http://scn.sap.com/docs/DOC-34090 (SQL Anywhere I/O Requirements for Linux and Windows) for more details.
There are also known instances where Intel drivers are not set with the correct write-through settings. The details of this are in the documentation: DocCommentXchange (Improving Robustness on Intel storage drivers).
Technical Support should still provide assistance. If the problem is a newly-discovered bug in SQL Anywhere 11, their advice will be to apply a more recent EBF or upgrade to a new version. However, that is unlikely in this case.
Breck is correct - it would probably be best to take a look at the database file in technical support for more clues as to what's happening here. With the current information, it's hard to say more than "something was not correct at the time the page was looked at by the database server."
Regards,
Jeff Albion
SAP Active Global Support -
Get an image from a varbinary field in an SQL Server 2005 database
Hi:
In a varbinary(MAX) field of an SQL Server 2005 database I
storage JPG images. I design a webservice that returns the
following XML structure:
Public Class IMAGEN
Public ErrorConsulta As Long
Public Imagen As Byte()
End Class
The response look like this:
<FLEXOBTENERIMAGENResponse>
<FLEXOBTENERIMAGENResult>
<IMAGEN>
<ErrorConsulta>0</ErrorConsulta>
<Imagen>/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgH....</Imagen>
</IMAGEN>
</FLEXOBTENERIMAGENResult>
</FLEXOBTENERIMAGENResponse>
Where the node Imagen are thousands of caracters that
represents the JPG image.
How can I show this JPG in an Image control of a Flex Builder
2 or 3?
If you need more information please let me know.
Thanx in advance.Assuming that you have text fields storing the Y N then on
the output you
have a code block like this
<%
If recordset.fields.item("wheelchair").value = "Y" then
%>
<img src="images/wheelchair.gif">
<%End if%>
However is your field is set to be a Yes/No type then the
best way is to
write the test like this
If recordset.fields.item("wheelchair").value = TRUE then
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver
Valleybiz Internet Design
www.valleybiz.net
"Lancs" <[email protected]> wrote in message
news:e6srl5$jul$[email protected]..
> Using ASP/VBscript and Access
> I'm making a page that dislays a listing of
organisations (using Repeated
> Regions) concerned with disabilities. I want to use
images for symbols
> that
> indicate whether, for example, an organisation uses
textphones, has
> wheelchair
> access, and the like. I'm using a form to add new
records to the database.
> I
> want the form to allow users to select the applicable
symbols using
> checkboxes.
> What code will allow the listing page to interpret a Y
value as an image
> path
> and ignore a N value.
> Thanks
> -
Hi all,
pls is there any way to store a sql script in database and be able to run it from a report or a form.
many thanks,
hanyyou can store functions, procedures and packages in a database and there a many ways to execute them.
select my_function(my_parameter) from dual;
or
begin
my_procedure(my_paramter);
end;
or
begin
my_package.my_procedure(my_paramter);
end;
please specify your sql script, for a more exact response
andreas -
Replication SQL Server 7 Database to Oracle 9i
Hi -
I'm new to Database Replication, what are the steps for database replication from a MS SQL Server 7 database to Oracle 9i? Eventually this SQL Server Database will be going to SQL Server 2000 are the steps different, if so what are they?
Thanks
MuchI do not what you mean with Replicate between SQL Server and Oracle. Perhaps you mean migrate from SQL Server to Oracle or to stablish a transparent gateway.
I am going to give you this reference:
Migration Workbench Reference Guide for Microsoft SQL Server and Sybase Adaptive Server Migrations Contents / Search / Index / PDF
Heterogeneous Connectivity Administrator's Guide Contents / Search / Index / PDF
http://otn.oracle.com/pls/db92/db92.docindex?remark=homepage
Joel P�rez -
SQL Server 2000 database GETDATE() default for field
I have a SQL Server 2000 database where the createDate field
has a default value of GETDATE() and the data type is datetime. It
is inserting the date just fine, but I do not want to capture the
time along with the date. I only want the date to be entered. How
can I accomplish this? Thanks!IF you only wanted to store the date, then yes you would use
that as the column default value.
createDate datetime default convert(datetime,
convert(varchar, getDate(), 102), 102)
However, as paross1 cautioned be sure you understand you will
only be capturing the date from now on. If you change your mind
later, and decide you need both the created date and time, you will
be seriously out of luck. A safer choice might be to keep the date
and time, and use convert in your queries instead.
Maybe you are looking for
-
Okay so my phone crashes approximately every 30 seconds. I have tried resetting it by DPU as well as on the phone itself. Once in awhile i get an error message about unknown error 1. If i look at the diagnosis or if runs on itunes i get the followi
-
I have an album which I am trying to sort correctly in iTunes. It has 2CDs of tracks by various artists, it is set up as a 'compilation' and I have 'album artist' set up. As far as I can see all the settings are correct, however CD1 is a compilation
-
Hard drive was wiped, is there any way to re-download videos/audiobooks?
My mac book pro's hard drive was recently failing, so I went to get it fixed and upgrade to leopard. I thought that my itunes purchases (specifically TV shows and audiobooks) could be downloaded again once I got the computer back, because I had not s
-
Hi gurus, My client manufactures 10 steel plates from 1 slab.Every plate has different batch no.In material master QM view is maintained. Clients requirement is that he must be able to do stock posting for all batches through MB1B mvmt type 321 after
-
Hey Everyone, I have built a page in iWeb and everything worked fine. I came back to it today and now when I publish it the "Home" link that is automatically generated on the top of every page doesn't work on one of the pages. It works fine on all of