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
I have a 6 gig csv and I am trying to load it into Teradata.
So I fire up Teradata SQL assistant, created an empty table and then I turn on Import data mode and try to insert the records into the empty table using
insert into some_lib.some_table
(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
But I always get a failure message around the 600k rows marks that goes
Error reading import file at record 614770: Exception of type
'System.OutOfMemoryException' was thrown.
I think it's because Teradata SQL assistant is trying to load everything into memory on my 4G laptop before trying to send the data to the Teradata server. Is my theory correct? How do I tell Teradata to upload the data in chunks and not try to store everything in local memory?
I believe you are pushing the capabilities of SQL Assistant as a means to load data.
Have you considered installed the Teradata Load Utilities such as FastLoad or MultiLoad on your system?
Another option if you don't want to write scripts for the load utilities would be to install Teradata Studio Express which should provide a mechanism to use JDBC FastLoad to load your data. This would be in the Smart Loader mechanism of Studio Express. You may find this to be more extensible than SQL Assistant using .Net or ODBC.
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.
I want to know how to store the excel sheet(like payslip it's contain image also) into sql server 2005 database using asp.net
Please guide me.
Look at using a BLOB field:
http://www.codeproject.com/KB/database/Store_and_manipulat_BLOBs.aspx
or just store the sheet in a properly protected directory and serve it up via a ASHX handler when needed.
If you were using SQL Server 2008 or later, you would also have the option of using FILESTREAM storage.
We use varbinary(max) for storing documents in sql server. Load the document as a byte array.
Just wondering if it is possible to convert sql-server *.mdf file into sqlite file ?
There's a C# utility to automatically do the conversion from SQL Server DB to SQLite DB on CodeProject
DBConvert for SQLite and MS SQL is a dependable bi-directional database converter which enables you to migrate data from SQLite to MS SQL server and from MS SQL to SQLite. DBConvert features: Unicode Support, Primary keys and Indexes conversion, Interactive multilingual (GUI) mode/command line mode, preverification of possible conversion errors, the ability to use MS SQL Dump if you don't have a direct access to MS SQL server, etc.
http://www.itshareware.com/prodview-code_65203--download-dbconvert-for-sqlite-and-mssql.htm
Couldnt find a free one for you!