Best way to push change data from sql server to windows/web application
i apologized that i do not know should i ask this question in this forum or not.
i have win apps which will load all data initially from db and display through grid but from the next time when any data will change in db or any data will be inserted newly in db then only change or newly inserted data need to be pushed from db side to
my win apps. now only sql dependency class is coming to my mind but there is a problem regarding sql dependency class that it notify client but do not say which data is updated or inserted.
so i am looking for best guidance and easy way to achieve my task. what will be the best way to push data from sql server to win or web client.
there is two issue
1) how to determine data change or data insert. i guess that can be handle by trigger
2) next tough part is how very easily push those data from sql server end to win apps end.
so looking for expert guide. thanks
Hello,
Yes, you can create DML trigger on INSERT and UPDATE to get the changed data into a temp table. And then query the temp table from application.
If you are use SQL Server 2008 or later version, you can also try to use
Change data capture, which
can track insert, update, and delete activity that is applied to a SQL Server table and store the changed values on the Change Table.
Regards,
Fanny Liu
Fanny Liu
TechNet Community Support
Similar Messages
-
How to push realtime data from SQL Server
Hello,
I am looking for the best way to approach the following
situation ... 1) how to connect 2) what I will need to maintain
"realtime" updated data on the the web browser (client) side 3) and
if Flash Media Server 2 or the Flash runtime (Platform) would be
required.
I have a SQL Server database that is updated every 5 seconds
with new data and I need to have this data reflected on a Flash
webpage. For simplicity, lets just say its a table that contains 50
records with 4 fields. When/if the data changes in any of the
fields it needs to show up "realtime" on the webpage. All thoughts
would be helpful ... but unfortunately it must be done in Flash
(don't ask) ... Thanks in advance!Having a webpage designed using FLASH 8 that can
communicate with a SQL Database would be something I am looking
into also. I hope someone that really knows what he is doing
explains this to us. I would like to use this with a catalog that
would be updated when I update the SQL Data. Why use FLASH? Reason
I am using it is that one has control of their work. The typical
HTML and other programming that works with HTML seem to NOT have a
standard making your website work look really good in one browser
but look like heck in another and some browsers will just not work
like you designed it. -
I am moving from PC to Mac. My PC has two internal drives and I have a 3Tb external. What is best way to move the data from the internal drives to Mac and the best way to make the external drive read write without losing data
Paragon even has non-destriuctive conversion utility if you do want to change drive.
Hard to imagine using 3TB that isn't NTFS. Mac uses GPT for default partition type as well as HFS+
www.paragon-software.com
Some general Apple Help www.apple.com/support/
Also,
Mac OS X Help
http://www.apple.com/support/macbasics/
Isolating Issues in Mac OS
http://support.apple.com/kb/TS1388
https://www.apple.com/support/osx/
https://www.apple.com/support/quickassist/
http://www.apple.com/support/mac101/help/
http://www.apple.com/support/mac101/tour/
Get Help with your Product
http://docs.info.apple.com/article.html?artnum=304725
Apple Mac App Store
https://discussions.apple.com/community/mac_app_store/using_mac_apple_store
How to Buy Mac OS X Mountain Lion/Lion
http://www.apple.com/osx/how-to-upgrade/
TimeMachine 101
https://support.apple.com/kb/HT1427
http://www.apple.com/support/timemachine
Mac OS X Community
https://discussions.apple.com/community/mac_os -
Best Way to port the data from one DB to another DB using Biztalk
Hi,
please suggest best way to move the data from one db to another DB using biztalk.
Currently I am doing like that, for each transaction(getting from different source tables) through receive port, and do some mapping (some custom logic for data mapping), then insert to target normalized tables(multiple tables) and back to update the status
of transaction in source table in sourceDB. It is processing one by one.
How/best we we can do it using bulk transfer and update the status. Since it has more than 10000 transaction per call.
Thanks,
VinothHi Vinoth,
For SQL Bulk inserts you can always use SQL Bulk Load
adapter.
http://www.biztalkgurus.com/biztalk_server/biztalk_blogs/b/biztalksyn/archive/2005/10/23/processing-a-large-flat-file-message-with-biztalk-and-the-sqlbulkinsert-adapter.aspx
However, even though a SQL Bulk Load adapter can efficiently insert a large amount of data into SQL you are still stuck with the issues of transmitting the
MessageBox database and the memory issues of dealing with really large messages.
I would personally suggest you to use SSIS, as you have mentioned that records have to be processed in specific time of day as opposed to when the
records are available.
Please refer to this link to get more information about SSIS: http://msdn.microsoft.com/en-us/library/ms141026.aspx
If you have any more questions related to SSIS, please ask it in
SSIS
forum and you will get specific support.
Rachit -
Best way to accept a date from a user
Hi Guys,
Whats the best way to get a date from a user and add it in an
insert record to access.
I have a form that adds a record and it works well enough as
long as the data added is in the correct format.
Untill now ive just had a text box with an explination to the
user on how to add the date and what format....
But Im fed up with having to change bad entrys and need to
place a control or something on the form but dont know whats
easiest and best?
Any ideas welcome.
ThanksIf you want today's date set the database up to insert the
date
automatically. If you want other dates than today's use a
date picker or
calendar to insert the date.
Dave
"Tag2007" <[email protected]> wrote in
message
news:epj87p$mar$[email protected]..
> Hi Guys,
>
> Whats the best way to get a date from a user and add it
in an insert
record to
> access.
>
> I have a form that adds a record and it works well
enough as long as the
data
> added is in the correct format.
>
> Untill now ive just had a text box with an explination
to the user on how
to
> add the date and what format....
>
> But Im fed up with having to change bad entrys and need
to place a
control or
> something on the form but dont know whats easiest and
best?
>
> Any ideas welcome.
> Thanks
> -
What is the best way to transfer my date from my old iMac to my new iMac?
what is the best way to transfer my date from my old iMac to my new iMac? I don't have a time capsule, so I cannot use time machine.
thanksYour best bet by far is to use Setup Assistant when the new Mac first starts up to transfer directly from the old one.
It's similar to Migration Assistant, but doing it that way will avoid having an extra user account.
Either way, you can connect them via FireWire, Thunderbolt, or your network, but avoid wireless if at all possible. You can connect both to your netwrork via Ethernet, or put a single cable between the two.
See Using Setup Assistant on Mountain Lion or Lion for details. -
Faster way to migrate data from SQL Server to Oracle 10g
We have to migrate data from SQL Server to Oracle 10 g.
One particular table on SQL Server has records around 1.25 millions.
We tried moving data using DTS package, but looks it will take hours with current speed of 300 records/minute.
This table has TEXT column, which has XML strings stored. I am not sure, if this is the reason for slow migration.
Would you please suggest better options to migrate it faster?
Thanks in advance !!!Have you tried Migration work bench?
-
Load Data from SQL Server to Oracle 10g using Sql*loader utility
I am trying to lod data from sql server 2005 to oracle 10g.
What is the best way to do it?
Can sql*loader utility do it?
what is the difference of using sql*loader utility and migration tool fom sql developer ?
Thanks
Edited by: user11313758 on Sep 30, 2009 4:30 PMHello:
You could consider using Oracle Heterogeneous Services to do this. If your Oracle database is on a Windows platform the link below shows you how to make a connection to SqlServer from an Oracle database.
http://www.databasejournal.com/features/oracle/article.php/3442661/Making-a-Connection-from-Oracle-to-SQL-Server.htm
Varad -
Error while exporting data from sql server to excel
Hi,
I am trying to export data from sql server to excel.
The query that I used is s follows
INSERT INTO OPENROWSET( 'Microsoft.Jet.OLEDB.4.0', 'Excel 8.0;Database=C:\Folder1\abc.xls','select * from [Sheet1$A1:IV65000]')
select
column1,column2.... from Table1
I get the following error message while doing so..
String or binary data would be truncated.
The statement has been terminated.
One of the column's holds data more than 225 characters.
What is the way to correct this, i want the whole data of the colum in the excel sheet.I haven't had great luck with the INSERT INTO OPENROWSET method. Can you try one of the many samples from one of these 3 links?
http://www.excel-sql-server.com/excel-sql-server-import-export-using-vba.htm#Excel%20Data%20Export%20to%20SQL%20Server%20Test%20Code
http://www.mssqltips.com/sqlservertip/1540/insert-update-or-delete-data-in-sql-server-from-excel/
https://www.simple-talk.com/sql/database-administration/getting-data-between-excel-and-sql-server-using-odbc--/
Knowledge is the only thing that I can give you, and still retain, and we are both better off for it. -
How to extract incremental data from SQL server to oracle tables in ODI
HI All,
In my ODI sql server is install.My Source is in SQL server and my target is in Oracle.
I need to create a interface mapping where i need to extract incremental data from sql server to oracle.
There is a datetime(with Timestamp) field in sql server .I need to pull incremental data based on dateime.
Example = tablename.DateTime > (select '1-jan-11' from dual) .....i am using this query but its not woking.the error is Invalid object name"dual".
We are not going to use Incremental in IKM and LKM.
Request you to please provide any suggestion ASAP.
Thanks,
LonyYou can do that via Variable.
In the interface mapping create a filter on Tablename.DateTime
and put the condition like this
Tablename.DateTime BETWEEN #VAR and in the variable use this query in refreshing tab with oracle schema
SELECT max(start_time)||' AND '||max(END_TIME)+1 from audit_table where ETL_JOB_CODE = '20'In the package call the above variable in refresh mode and then interface.
This way you will pass from the query between and condition date and pass to interface so that SQL Server fetches the data between those too range.
Note:- You might need to tweak the date format so that SQL Server can understand.
Hope this helps. -
Reg. Migrating data from SQL Server 2000 to Oracle
Hi All,
I need to migrate a same data from SQL Server 2000 to Oracle 9i.In sql server Export option is there, but the problem is some 30 tables have More than one LONG datatype column in a table. That's why oracle not allow to import.
Could you guys find any tool for the same.
Please do the needful.
Thanks & Regards,
Prathaphi dermot,
it's very urgent now. Can you please give any solution for this.
and also i tried the SQL developer tool. But i got an below error,
Error starting at line 2 in command:
CREATE USER dbo_testdatalatest IDENTIFIED BY dbo_testdatalatest DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP
Error at Command Line:2 Column:45
Error report:
SQL Error: ORA-01031: insufficient privileges
01031. 00000 - "insufficient privileges"
*Cause: An attempt was made to change the current username or password
without the appropriate privilege. This error also occurs if
attempting to install a database without the necessary operating
system privileges.
When Trusted Oracle is configure in DBMS MAC, this error may occur
if the user was granted the necessary privilege at a higher label
than the current login.
*Action: Ask the database administrator to perform the operation or grant
the required privileges.
For Trusted Oracle users getting this error although granted the
the appropriate privilege at a higher label, ask the database
administrator to regrant the privilege at the appropriate label.
Error starting at line 3 in command:
GRANT CREATE SESSION, RESOURCE, CREATE VIEW TO dbo_testdatalatest
Error report:
SQL Error: ORA-01031: insufficient privileges
01031. 00000 - "insufficient privileges"
*Cause: An attempt was made to change the current username or password
without the appropriate privilege. This error also occurs if
attempting to install a database without the necessary operating
system privileges.
When Trusted Oracle is configure in DBMS MAC, this error may occur
if the user was granted the necessary privilege at a higher label
than the current login.
*Action: Ask the database administrator to perform the operation or grant
the required privileges.
For Trusted Oracle users getting this error although granted the
the appropriate privilege at a higher label, ask the database
administrator to regrant the privilege at the appropriate label.
Error starting at line 4 in command:
CREATE USER epm_testdatalatest IDENTIFIED BY epm_testdatalatest DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP
Error at Command Line:4 Column:45
Error report:
SQL Error: ORA-01031: insufficient privileges
01031. 00000 - "insufficient privileges"
*Cause: An attempt was made to change the current username or password
without the appropriate privilege. This error also occurs if
attempting to install a database without the necessary operating
system privileges.
When Trusted Oracle is configure in DBMS MAC, this error may occur
if the user was granted the necessary privilege at a higher label
than the current login.
*Action: Ask the database administrator to perform the operation or grant
the required privileges.
For Trusted Oracle users getting this error although granted the
the appropriate privilege at a higher label, ask the database
administrator to regrant the privilege at the appropriate label.
Error starting at line 5 in command:
GRANT CREATE SESSION, RESOURCE, CREATE VIEW TO epm_testdatalatest
Error report:
SQL Error: ORA-01031: insufficient privileges
01031. 00000 - "insufficient privileges"
*Cause: An attempt was made to change the current username or password
without the appropriate privilege. This error also occurs if
attempting to install a database without the necessary operating
system privileges.
When Trusted Oracle is configure in DBMS MAC, this error may occur
if the user was granted the necessary privilege at a higher label
than the current login.
*Action: Ask the database administrator to perform the operation or grant
the required privileges.
For Trusted Oracle users getting this error although granted the
the appropriate privilege at a higher label, ask the database
administrator to regrant the privilege at the appropriate label.
Error starting at line 6 in command:
CREATE USER lportal_testdatalatest IDENTIFIED BY lportal_testdatalatest DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP
Error at Command Line:6 Column:49
Error report:
SQL Error: ORA-01031: insufficient privileges
01031. 00000 - "insufficient privileges"
*Cause: An attempt was made to change the current username or password
without the appropriate privilege. This error also occurs if
attempting to install a database without the necessary operating
system privileges.
When Trusted Oracle is configure in DBMS MAC, this error may occur
if the user was granted the necessary privilege at a higher label
than the current login.
*Action: Ask the database administrator to perform the operation or grant
the required privileges.
For Trusted Oracle users getting this error although granted the
the appropriate privilege at a higher label, ask the database
administrator to regrant the privilege at the appropriate label.
Error starting at line 7 in command:
GRANT CREATE SESSION, RESOURCE, CREATE VIEW TO lportal_testdatalatest
Error report:
SQL Error: ORA-01031: insufficient privileges
01031. 00000 - "insufficient privileges"
*Cause: An attempt was made to change the current username or password
without the appropriate privilege. This error also occurs if
attempting to install a database without the necessary operating
system privileges.
When Trusted Oracle is configure in DBMS MAC, this error may occur
if the user was granted the necessary privilege at a higher label
than the current login.
*Action: Ask the database administrator to perform the operation or grant
the required privileges.
For Trusted Oracle users getting this error although granted the
the appropriate privilege at a higher label, ask the database
administrator to regrant the privilege at the appropriate label.
Error starting at line 8 in command:
connect dbo_testdatalatest/dbo_testdatalatest;
Error report:
Connection Failed
Commit
Regards,
Prathap.R -
How can I migrate data from SQL Server 6,5 to Oracle 8?
We have a web site based on Microsoft SQL Server 6.5.Now we plan
to migrate the database to Oracle 8.
We have redesigned the tables structure and created tables under
Oracle 8, so we only need to migrate data from SQL Server.
We've exported data from SQL Server to text files.
How can we import data from files and restore to Oracle tables.
Is there a solution which let us to import data for particular
table columns,not all columns?
We'll be appreciated if somene can give suggestions.
Regards
Michael
nullThank you for your reply.
I'll try the Oracle sqlloader utility first.
Regards
Micahel
Oracle Migration Workbench Team wrote:
: Michael,
: Oracle sqlloader is user for this sort of operation, see
: Oracle8i Utilities
: Release 8.1.5
: A67792-01
: available online through Oracle Technology Network.
: The Oracle Migration Workbench can be used to create bcp and
: sqlloader scripts, though since you have altered the schema
these
: scripts would need to be altered by hand after generation.
: Some thought has been put into redesigning table structures in
: the Oracle Migration Workbench, but currently it looks like
this
: reengineering will be left to be done by other tools, eg
Oracle
: Designer, once the SQLServer database has been duplicated with
as
: little change as possible onto Oracle.
: Hope that helps,
: Turloch
: Oracle Migration Workbench Team
: Michael (guest) wrote:
: : We have a web site based on Microsoft SQL Server 6.5.Now we
: plan
: : to migrate the database to Oracle 8.
: : We have redesigned the tables structure and created tables
: under
: : Oracle 8, so we only need to migrate data from SQL Server.
: : We've exported data from SQL Server to text files.
: : How can we import data from files and restore to Oracle
tables.
: : Is there a solution which let us to import data for
particular
: : table columns,not all columns?
: : We'll be appreciated if somene can give suggestions.
: : Regards
: : Michael
: Oracle Technology Network
: http://technet.oracle.com
null -
Import data from sql server /vice versa
My Database serevr version is 10.1.0.3.0.
Sql Server 2000.
Is it possible to import data from sql server to oracle database?
Also other way around.
I mean import data from Oracle to sql server.
Regards,
DHi,
You can use Heterogeneous Service to do this. This component is free but poor of resources. Simple things you can do with this, complex I really don't know.
Also, to import from sqlserver to oracle you can use Oracle Warehouse Builder, an Oracle ETL tool. But, OWB do not work in other way, oracle to sqlserver.
And why do want to use sqlserver, if you have oracle?
[]'s,
Gustavo. -
Best way to update DR database from PROD server automatic ?
Hello Gurus,
I want to decide best solution.
Goal: Best way to update DR Database from PROD Server Database automatic.
System: 32 bit Linux system with Oracle Database 10g Release 10.2.0.4.0 - Production (database version) Oracle version is standard.
Please let me know how i can update my DR server with PROD data and this task should be automatic.
Please ask me more information if required to solve this issue.
Thanks- Priyank
Edited by: Oracle DBA P on Nov 19, 2010 3:06 AMyou mean to say data guard needs to implement ? i think that's one option but what you said is different ?
tell me procedure how i can implement your idea ? steps i have to perform.
Thanks
Edited by: Oracle DBA P on Nov 19, 2010 3:38 AM -
How to import data from SQL server to Oracle?
Dear Sir/Madam,
I want to move database data from SQL Server to Oracle, but don't how to do it, will you please help me do it?Oracle Migration Workbench is your best bet:
http://www.oracle.com/technology/tech/migration/workbench/index.html
Cheers, OTN
Maybe you are looking for
-
After using the new face recognition features in PSE8 I now have several family members that are duplicates in my tags. I had them in there with previous versions of elements and now the new elements has re-created some of them. Only some of them t
-
Hi. Immediately after installing iTunes a dialogue window appears stating that "itunes was not properly isntalled. if yuou wish to import or burn cds you need to reinstall itunes." This happens even after I complete the installation w/ antivirus disa
-
Need to post text without the box
When I post text, it also posts my text box. I want to just post the characters on top of the movie. Suggestions? Tnx
-
Basically I would like to fill an internal table. How I could do the oposite of: check not filename is initial. open dataset filename for output in text mode encoding non-unicode. if sy-subrc ne 0. write: / msg, filename. exit. endif. loop at t_d
-
Assigning recorded audio to a different instrument
Is it possible to assign an already recorded audio track to a different instrument? I've recorded a rather poor bass drum sound and would like to take the recorded audio file and assign it to a software instrument. Is this possible? I'm using LE 7 Th