Updating SQL server table from Oracle - asp.net

how can keep Update SQL Server Tables from Oracle? I want SQL tables updating every day or after 24 hours. but I can't write Trigger on Oracle because the Oracle database is not mine and I just use it. so what should I do? notice: I can code in Asp.Net

Related

.Net always keep old data after rebuild

i had a problem in VB .NET
first time i get data from Oracle Database
it's fine
after i update something in Oracle Database
My apps keeps the old data before updating
i had try make the new apps, recomplie, and run the same query in oracle
its always has same result in vb
but in oracle, the result show latest data
Note: i run using the same query
i am using this syntax to read data
oracle_command.ExcuteReader()
can anyone gave me some suggestion what must i do?
You should execute a commit after your UPDATE, INSERT, or DELETE operations in Oracle, so that the new data change can be recognized from the VB.NET app side.

how do I save my database tables and values?

I have an asp.net mvc website, and I would like to know if/how to save my database tables and values to my migrations/models so when I publish my website the first time it runs it creates the database on the iis sql server and fills the tables with the data? I am using sql server 2016 on my computer and on the server. right now it creates a default database on first run but no tables get created. I have just been making the database and tables manually when I publish, but I want to know if its possible to have it done automatically.

a file-base FoxPro Database in asp.net issues

I have a collection of data stored in a FoxPro database in my local system . I want to use this data in my website . now I don't know what is the best way to use it .
1- to place the database itself in app_data and use VFP Oledb provider to extract data from ?
2- Or to use it as a linked server with my current sql server ?
3- or create a page that uploads VFP database then export it's records to a sql server database with the same schema ?
I can't answer these questions because :
I don't know how secure and scalable is a database placed in app_data /
is FoxPro database a good choice as a website backend data store /
exporting data from VPF to Sql database through code is not error proof ( I'm not sure if I lose records and FKs )
how often the data change? Do you need it real time? If yes, give it a try with linked servers:
http://support.microsoft.com/kb/199131
If you can have a X hours\minutes delay (that will depend on the size of your data), how about building SSIS packages to run on a regular basis to get the data from FoxPro and insert into a SQl Server database?
Visual FoxPro also has an upsizing wizard that will do the heavy lifting of converting your Visual Foxpro database to SQL Server including the table structures and data.

Bulk insert using sql server, asp.net

I need to insert the bulk data into MS SQLServer (approximately 2lac records) from excel or csv format file using asp.net C# web application.
My problem :
It throws out of memory exception.
So, I need to fix the issue from asp.net but NOT THROUGH SQLSERVER.
When I tried the bulk data insert/Update at the SQLServer it works fine. But when I tried to do the same process using the ASP.NET the system throws "Out of Memory Exception"
Kindly help me to solve this problem.
Thanks
Vadivelu
See some resources:
Bulk Insert into SQL Server using SqlBulkCopy
Video: Using SqlBulkCopy to Bulk Insert Data between SQL Server Tables

how can i restore my db schema in oracle 11g?

I use oracle 11g , and sql develper stop working becouse of virus attack :(
THE PROBLEM is that i need to restore my database schema , the data is not important to recover , sql plus work properly , can i recover the schema from sql plus or folders of oracle program ???
pleaaaaaaaaaaaaaaaaaaaaaaaaaaaase help :(
Why would a virus that caused SQL Developer to stop working have an impact on the database schema? You also write that SQLPlus works. Can you connect to the database with SQLPLus? Please provide clearer information on what the problem is.

Resources