dbf

9i oracle数据库迁移到11G

此生再无相见时 提交于 2019-12-02 20:10:41
一、迁移前查询 110库 活动的用户为以下几个用户(BOSS,MD_QZY,SMART,SRDQ,RIMS) 120库 活动的用户(BOSS,SMART) select distinct username from v$session; BOSS MD_QZY RIMS SMART SRDQ 关闭监听,杀进程 ps -ef |grep ora|awk '{print $2}'|xargs kill -9 查看迁移前的对象个数(不同用户查看): set lin 200 pages 100 select owner,object_type,count(*) from dba_objects where OWNER in ('BOSS', 'MD_QZY', 'SMART', 'SRDQ','RIMS') GROUP BY OWNER ,object_type ; OWNER OBJECT_TYPE COUNT(*) ------------------------------ ------------------ ---------- RIMS INDEX 13 RIMS TABLE 9 SMART VIEW 10 SMART INDEX 124 SMART TABLE 323 SMART TRIGGER 212 SMART FUNCTION 3 SMART SEQUENCE 228

ODBC .DBF Files in C#

六月ゝ 毕业季﹏ 提交于 2019-12-02 14:26:14
问题 I am having a lot of trouble using .dbf files. I have an application written in C# that reads from .DBF files and then exports them to another database. I've tried using the Microsoft dBase driver but it's not reading all of the .DBF files that I need to, meaning that I can retrieve data from only two of the five .DBF files, Visual Studio is telling me the other .DBF files don't exist and it keeps saying the my input string is too large. There are some Microsoft Visual Fox Pro drivers but

Generating dBase II DBF File in C# 3.5

*爱你&永不变心* 提交于 2019-12-02 11:03:45
I'm generating dbf file to get imported to legacy systems that only accepts dBase II OR III. My aplication is .Net 3.5. I initially started working with this component VFPOLEDB.1 but it only generate dbf files in dBase V format which isn't backwards compatibily. Anyone knows a component or driver to generate de dbf file in dBase II or III Thanks DRapp Try issuing a call to execute a script that opens the file, then does COPY TO {some file} type FOX2X that should get you the output... There was another post of a similar all being done via C# through the VFPOleDB and I'll try to find it... Yup,

How to sync Visual Foxpro dbfs with MySql?

痴心易碎 提交于 2019-12-02 08:09:03
问题 I'm trying to sync a legacy application (wich stores data in VisualFoxpro dbfs) to MySql or SqlServer 2005. This will allow us to see certain information online. I need this sync at least twice a day. Does anyone know how to do this? Thanks in advance. 回答1: I am not aware of any off-the-shelf software to handle this, but it would not be difficult using python, my dbf module, and one of the MySQL packages. Once you have the script written, add it to the system scheduler to run as often as you

ODBC .DBF Files in C#

时光怂恿深爱的人放手 提交于 2019-12-02 08:07:00
I am having a lot of trouble using .dbf files. I have an application written in C# that reads from .DBF files and then exports them to another database. I've tried using the Microsoft dBase driver but it's not reading all of the .DBF files that I need to, meaning that I can retrieve data from only two of the five .DBF files, Visual Studio is telling me the other .DBF files don't exist and it keeps saying the my input string is too large. There are some Microsoft Visual Fox Pro drivers but every time I choose one of those, Visual Studio is telling me that it couldn't make a connection. The

How to create table in mdb from dbf query

痞子三分冷 提交于 2019-12-02 05:13:23
I have a dbf that I would like to copy into a new mdb using VB6. The following is where I am up to, I can create the new mdb easily enough, however, I thought I could just do a Select query with an INTO to create a new table with the data. Please note: what I'm assuming is the MSAccess table gets created at the time the sql query gets run. I get a syntax error in FROM clause. What I was trying to do is manipulate this sql query to do what I need it to: sql = "INSERT INTO [Table1] SELECT * FROM [source.dbf] IN " & dbfPath My example vb: new_mdb = root_directory & "\Temp\LnX.mdb" Dim conCatalog

how to get IIS to work with dbf files?

孤街浪徒 提交于 2019-12-02 02:48:11
problem is the following: raised the IIS server on Windows XP, but when accessing the dbf files crashes exception. driver to work with files vfpoledb set. out of the visual studio everything works fine. could something else be done? I don't know if its case sensitive or not, but the connection string should be something like String connString = "Provider=VFPOLEDB.1; Data Source= C:\Your\Path\OnIISMachine\YourDatabase.dbc;" If that's ok, then do you have the proper OleDB driver from Microsoft Link for OleDB Provider -- REVISION FROM COMMENT Does the SERVER have the OleDb Provider installed...

Way to convert dbf to csv in python?

我与影子孤独终老i 提交于 2019-12-02 01:24:56
I have a folder with a bunch of dbf files I would like to convert to csv. I have tried using a code to just change the extension from .dbf to .csv, and these files open fine when I use Excel, but when I open them in pandas they look like this: s\t� 0 NaN 1 1 176 1.58400000000e+005-3.385... This is not what I want, and those characters don't appear in the real file. How should I read in the dbf file correctly? Looking online, there's a few options: https://gist.github.com/ryanhill29/f90b1c68f60d12baea81 http://pandaproject.net/docs/importing-dbf-files.html https://geodacenter.asu.edu/blog/2012

oracle 分区表(子分区)收缩笔记

我的梦境 提交于 2019-12-02 00:23:24
思路 1.首先移动子分区到别的表空间。 2.收缩数据文件。 3.再把子分区移回原表空间。 ---------------------------------------------生成发送报告移动子分区语句--------------------------------------------- select 'alter table '||TABLE_NAME||' move subpartition '||SUBPARTITION_NAME||' tablespace SMART_NRRPSTA01;' from dba_tab_subpartitions where table_name = 'S_T_RTNRP_STATUS' AND PARTITION_NAME LIKE 'ST_RRPS_12%' ORDER BY SUBPARTITION_NAME select 'alter table '||TABLE_NAME||' move subpartition '||SUBPARTITION_NAME||' tablespace SMART_NSNRP01;' from dba_tab_subpartitions where table_name = 'S_T_SEND_REPORT' AND PARTITION_NAME LIKE 'ST_SNDRP_12%'

Sql Parametrized syntax error with VFP OleDb

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-01 21:45:08
问题 I'm trying to make an SQL parametrized update command for a DBF File ( Visual Fox Pro ) I don't know why, but i have a "syntax error" on the "DbCommand.ExecuteNonQuery();". The exception error message is "Syntax Error.". I don't have any additionnal informations. string maRequete = "UPDATE " + strNomTable + " set " + "evetype = @evetype ," + "evedes = @evedes ," + "evecli = @evecli ," + "eveusermo = @eveusermo ," + "eveinterv = @eveinterv where eveNum = '" + strEvtNumeroString.ToString() + "'