SQL Express Question For Parasing Data From An Oracle Database

Dec 13, 2006

Hi,

Below and far below are my SQL command and raw data. In the data, each lot has 13 records, for example, T6L09641 has 13 records. What I am working on is to average the Total, Large, Middle and Small for each lot as a representative instead of listing every record. So, I wrote a SQL express and put it in my Access and run it. However, I got an error message "ORA-00905:missing keyword(#905)". I double checked it again and found nothing stange. Someone can help me to modify it?

SELECT LINE_ID, LOT_ID, AVG(TSIZE_QTY_PA)/10000 Total, AVG(LSIZE_QTY_PA)/10000 Large, AVG(MSIZE_QTY_PA)/10000 Min, AVG(SSIZE_QTY_PA)/10000 Small, RCV_TIME Time FROM IWMES.DIMES_PPTU_PT_IPCRST Where (LINE_ID='L401') GROUP BY LOT_ID HAVING RCV_TIME BETWEEN 12/10/2006 00:00 AND 12/13/2006 00:00 ORDER BY LOT_ID

Raw Data
http://photo.pchome.com.tw/vitaminb6/116597990115

What I wished

http://photo.pchome.com.tw/vitaminb6/116599056886/



View 1 Replies


ADVERTISEMENT

Why Not Like Oracle Database 10g Express??

Dec 14, 2006

The last few months I learn something about SQL by learning Oracle database 10g XE?

Yesterday I downloaded a SQL server express from MS, but we I installed it, together with management studio, I got stucked, I don't know how to start, even the most simple thing, how to create tables, views, and users, and all these simple things.

Am I need more softwares for creating this things?

Any good idea to give a layman like me, something to read??





Really Thanks!!

View 1 Replies View Related

Importing Oracle Data In SqlServer Using Express

Nov 8, 2007

OK so there is some data in an Oracle DB that I have to summarize based on grouping info stored in a SqlServer DB. How can I import the Oracle data into a SqlServer temp table using SqlServer Express? Thanks.

View 2 Replies View Related

Can Co-installations Of MS SQL 2005 Express And Oracle 10g XE Database Server Interfere With MS SQL?

Feb 24, 2007

Hi -

I may not sound desparate, but I really am. I have spent many days now trying to install and re-install Microsoft SQL 2005 Express. I still cannot connect to the database! I have read this forum and tried various suggestions, like setting the remote connections and TCP/IP + Named Pipes. Still doesnt work!

The environment is Dell Dimension 24000 (I86) with WinXPPro.

Out of desparation, I downloaded and installed Oracle 10g XE. It works just fine !

My question is: Does the Oracle database server interfere with connecting to the Microsoft SQL 2005 Express server ?

Also, I notice that there are an awful lot of questions posted on this Forum concerning just getting your software up and running. Are there that many stupid folks out there like myself, or has this application been released prematurely ?

View 3 Replies View Related

Error Importing Data From Oracle Database To An SQL Database

Oct 11, 2005

Hi!

View 36 Replies View Related

Importing Unicode Data From Oracle Database

Nov 28, 2005

Hi everybody,

View 13 Replies View Related

Extract Data From Multiple Oracle Database

Sep 25, 2007

I have to extract data from 5 different oracle databasee with same schema.This will be scheduled job.Can someone guide me.

View 1 Replies View Related

Extract Data From Multiple Oracle Database

Sep 25, 2007

I have to extract data from 5 different oracle databases with same schema.This will be scheduled job.Can someone guide me.

View 1 Replies View Related

How To Setup Replicating Data To Oracle Database

Jan 30, 2006

How do you setup replication from SQL Server 2000 to a oracle database? We want to push changes from sql sever to oracle, evertime sql server table is changed. I have a working ODBC connection. When I try setting up a push to the oracle side I can not find the subscriber In the list. Can someone point me in a direction, with a detailed way of doing this.

View 1 Replies View Related

EXtract Data From 10 Identical Oracle Database Into One

Sep 25, 2007



Please guide me urgently how to extract data in SSIS from 10 identical oracle database into 1 sql server database.
There is a table which list all the 10 databases.

View 2 Replies View Related

Front End Options For Entering Data Into An Oracle Database

Feb 1, 2006

Hi,I need to set up a generic table in Oracle that allows users to enterdata that can later be retrieved in reports.I was thinking of a 3 column table in this structure:DATE,ITEM,VALUEfiguring that you can store anything in this way because ITEM can beanything and you can have multiple instances of a particular value byhaving a new date.Does that seem reasonable?In any case, what are my user front end options? I was thinking aMicrosoft Access database but its not ideal because not everyone herehas Access?Can you do it with Excel? Or what other options are there as a simpleuser front end to enter the data?Thanks for any advice.Kim

View 1 Replies View Related

Copying Database Objects And Data From Oracle 8 To SQL 2005

May 16, 2007

Does anyone know how to copying database objects and data from Oracle 8 to SQL 2005 ?

View 1 Replies View Related

SQL Server Admin 2014 :: How To Fetch Data From Oracle Database

Oct 14, 2015

how to fetch data from oracle database in sql server 2014

example:

oracle schema :t1
sql server :t2

now am in t2 sql server database

now am executing below query

select * from t1.tablename ;

View 1 Replies View Related

Parameters In Data Flow Task With Oracle Database Source

Jul 9, 2006

In many DTS packages I have used parameterised queries for incremental loads from Oracle database sources using the Microsoft ODBC Driver for Oracle.

Now I want to migrate these packages to SSIS, but the OLE DB connection for Oracle does not support parameters.

I cannot use the "SQL command from variable" data access mode because of the 4000 character limitation on the length of string variables and expressions.

Am I missing an obvious workaround?

View 7 Replies View Related

How To Pick Up Data From SQL Server And Update A Oracle Database Using A SSIS Package

Mar 5, 2007

Hi,
I have a table in SQL Server 2005 which has [Id] and [Name] as its columns.
I also have a Oracle database which has a similar table.

What I want to do is as follows:
In a SSIS package, I want to pick up details from SQL Server and update the Oracle table. And then should be done without using a linked server connection.

Can someone guide me as to how I can specify a update statement in the destination dataflow.

Thanks.

View 7 Replies View Related

Integration Services :: Extract Data From Server And Load Into Oracle Database?

Jun 23, 2015

Looking for sample ETL package to extract data from SQL Sever Database and load into Oracle Database using SQL SERVER INTEGRATION SERVICES 2008. The requirement is for full load and incremental load both.

View 5 Replies View Related

Data Access :: Accessing Oracle Tables From Server Via Oracle DBLINK?

May 8, 2015

we recently got a scenario that we need to get the data from oracle tables which is installed on third party servers. we have sqlserver installed on ourservers. so they have created a DBLINK in oracle server to our sqlserver and published the DBLINK name.

what are the next steps that i need to follow on my sqlserver in order to access the oracle tables ?

View 2 Replies View Related

Integration Services :: How To Capture Changed Data Of 2 CSV Files And Modify It In Oracle Database

May 6, 2015

I need reflecting changes of csv file in oracle DB. Suppose,  I load single csv file in oracle DB which contains 10 rows. After some time, I have loaded another CSV file which has the modified row of the previously loaded csv file. So, how can I capture the CSV changes and how it is going to get reflected in oracle DB?There is no unique column in csv file to identify particular row.

View 3 Replies View Related

Edited Data Won't Propagate Back To The Database (VB 2005 Express && SQL Server 2005 Express)

Dec 11, 2006



Hi,

I'm trying to learn some VB programming with the VB 2005 Express Absolute Beginner Series video tutorials (which I think is great) and have come across a problem that I can't solve.

When I follow the instructions in Lesson 9 (Databinding Data to User Interface Controls) my application will display the data from the database correctly and I can edit it (and as long as the debugger is running the data remains changed). However, the changes won't propagate back to the database. I don't get any error messages but after I edit the data, save (with the save button on the BindingNavigator toolbar), and end debugging the data in my database remains unchanged. When I use a MessageBox to show how many rows where edited/updated in the

Me.myTableTableAdapter.Update(Me.myDatabaseDataSet.myTable)

I get the correct number back. I'm sure the problem is not due to coding errors since I've also tried running the accompanying Lesson 9 project file that can be downloaded from MSDN and the problem persists.

I'm using Windows XP SP2, SQL Server 2005 Express Edition and VB 2005 Express Edition. I've tried installing SQL Server 2005 Express with a number of different settings, including default settings, but it doesn't make any difference.

Would greatly appreciate any feedback on this as I'm keen to resolve this problem so I can get on with the next tutorial lesson.

Thanks,
Ieyasu

View 6 Replies View Related

SQL Express Database Table Data Insert Into Another Database

Apr 15, 2007

Hi,

I have two SQL Express database and I want to do two things. One is to transfer a table over to the other database. Two, move the files from one table in one database to another. Please let me know when you get a chance.

Thanks,

Kyle

View 8 Replies View Related

Problem Inserting Data Into A SQL Express Database

Feb 21, 2007

I am trying to implement a code behind page (in VB) to insert data into a sql express database but something is not right.  Any help would be greatly appreciated.  The following is the code I have:Protected Sub SaveButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles SaveButton.Click        Dim connString As String = "Data Source=.SQLEXPRESS;AttachDbFilename=|DataDirectory|News.mdf;Integrated Security=True;User Instance=True;Asynchronous Processing=true"        Dim sqlInsert As String = "INSERT INTO news_Article (Heading, Story, Author, Show_on_homepage) VALUES(@heading, @story, @author, @show)"        Dim conn As New System.Data.SqlClient.SqlConnection(connString)        Dim cmd As New System.Data.SqlClient.SqlCommand(sqlInsert, conn)        Dim heading = HeadingTextBox.Text        Dim story = StoryEditor.Value        Dim author = AuthorTextBox.Text        Dim show = ShowHPCheckBox.Checked        conn.Open()        cmd.BeginExecuteNonQuery()        conn.Close()End Sub 

View 4 Replies View Related

Insert Data To MsSQL Express Database?

Jan 4, 2008

Hello there,I'm to asp.net, so please be patient :DMy question is, how do I simply add some data to my database? - With vb.net code, not a grid view or something like that..I want to connect to my database, insert some data to a table.It shouldn't be that hard?- Hope someone will take the 5 minutes, and help me :)Regards Jeppe

View 16 Replies View Related

Can The Data Tables In SQL Express Database Be Printed Out?

Oct 16, 2006

Hi, is it possible to print out the data tables? If, yes how to go about doing it? how to print 1 table per page?

View 9 Replies View Related

Adding Data To A SQL Server Express Database

Feb 20, 2006

Hi there,

I'm new to programming and trying to learn as much as I can about SQL Server Express and VB Express.

I'm trying to write some values from a textbox to a SQL database, can someone point me to a sample of this?



Thanks

View 3 Replies View Related

SQL 2005 Express (view Database Data)

Mar 9, 2006

How do I view the data stored within SQL Express? What programs do I need to view the database information?

View 5 Replies View Related

??Moving Table With Data To Another Database In Sql Express 2005??

May 30, 2006

How to move some tables with data & procedures etc from 1 database to another in sql server 2005 express edition.
i did by scripting but i transfer tables and procedures and not data
data is the problem.
tnx

View 1 Replies View Related

SQL Server Express And Oracle

Nov 21, 2006

Can sql server express and Oracle be installed on the same machine.What possible problems can I expect ?

View 2 Replies View Related

Export Data From SQL Server 2005 Express To Access Database?

Aug 30, 2007

I have to export data from SQL Server 2005 express to Access database. I have done many import/export using DTS package via SQL 2000. I don't have BI installed in my SQL SERVER 2005 Express. I understand that I have to use SSIS for sql server 2005. Any help is greatly appreciated.

View 1 Replies View Related

Problems Deploying Express Database App In Common App Data Path

Jan 28, 2008

Hello,
I would like to deploy a per-machine Express database as part of my VS2005 C# desktop application. The deployment must work with both XP and Vista from the same setup files. I'm not using One-Click installation. I don't want my users to have to configure Express with the Surface Area Configuration tool.

Since the database cannot go in C:Program Files because of Vista ACL issues, I am using COMMONAPPDATACompanyNameAppName as the install path for the database and other user writable application files. In XP this expands to C:Documents and SettingsAll UsersApplication DataCompanyNameAppName and in Vista it is C:ProgramDataCompanyNameAppName. Neither of these paths have write privileges for unprivileged users, so the install program needs to change the write permissions at install time. Right now I am using SetACL ( http://setacl.sourceforge.net/ ), to do that and the install goes fine with write permissions on the companyName folder and it's children for all users.

But I can't connect to the mdf file in my COMMONAPPDATACompanyNameAppName folder. If I am the administrator/installer it works fine, but as an unprivileged user I get different errors, but mostly "Could not login user ...". For debugging, I have also tried installing the database in the "AppFolder" directory (which for my app in both Vista and XP is C:Program FilesCompanyNameAppName) and using "User Instance=true" in the connection string, and the connection is made but (at least on XP) the unprivileged user cannot write to the database because the folder lacks write privileges for that user.

I suppose one thing I could do would be to change the folder/file permissions in the AppFolder, but I am reluctant to do that because I have read that Microsoft does not guarantee that the "Compatibility" feature in Vista for the Program Files directory will be available in future releases/service packs.

So is there a way to do a simple installation/db connection for a per-machine database located in a COMMONAPPDATA path?

Thanks for your help.

View 13 Replies View Related

View Data From A Compact Database With The Management Studio Express ?

Jan 23, 2007

Hi there, after some hours of installing and experiments i can now open and sql server compact database (sdf) iam also able to create a new database and add tables and columns. (everything with the ms sql server management studio express)

i can also open the northwind database. but iam not able to view the data .

if i rightclick on a normal database table i can choose ->open table and see its content.

but on a compact table i have at rightclick only

edit table
properties
delete

refresh



how can i see the data in the table or add new content ?

thanks

View 8 Replies View Related

Connecting To An Oracle Databse Server Using SQL Express

Jan 10, 2006

Hello everyone,

 

I am working on a project for a professor. The project entails
designing and creating a database.  We
were given individual space on the schools database server and we were given
SSH secure shell to connect and manage our respective databases.  I took it upon myself to try out SQL Server
Express.  Using the management studio I
am trying to connect to my school database and can€™t seem to figure it
out.  Can someone please give a noob some
simple and quick instructions on how to achieve this?

 

Thank you,

Your Friendly Neighborhood Programmer,

 

This is the SSH product in case any one was interested, ftp://ftp.ssh.com/pub/ssh/SSHSecureShellClient-3.2.9.exe

 

View 1 Replies View Related

Can SQL Express Be Accessed By Oracle Transparent Gateway ?

Apr 3, 2006

Able to access SQL express remotely using SQL mgt Studio after certain configuration.

But notice that I must use IP address/SQLEXPRESS for server name in order for connection to work. What is this "/SQLEXPRESS" ? Is it a standard surfix for SQL Express ?

I have installed the Oracle Transparent Gateway on the machine with SQL Express and setup the tnsname for SQL Express. For the tnsname, have used IP address/SQLEXPRESS as the host name but it gave this error :

ORA-28545: NCRO Failed to make RSLV connection

Tried with just the IP address and it gives the same error.

Any idea ?? ?? Help !

View 3 Replies View Related

Linking Oracle View To SQL Server Express

Sep 6, 2007

Hi,

I was able to link SQL Server Express to Oracle views using Linked Manager. However, when I run the query, the performance is very slow.

Is there a way to improve performance in querying?

Previously I was using Access to link to Oracle view. But the performance is not good. Takes about 8 hours for approx 6000 records.

Thanks a lot,
Stara

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved