Все вопросы: [flat-file]
42 вопросов
приложение PHP с плоской базой данных
Я создаю приложение, которое будет полагаться на базу данных, и я полностью намерен использовать базу данных плоского файла, есть ли какие-либо серьезные причины избегать этого? Я использую mimesis ( http://mimesis.110mb.com ) это проще, чем использовать mySQL, с которым, должен признать, у м...
Is there a standard format for describing a flat file?
Is there a standard or open format which can be used to describe the formating of a flat file. My company integrates many different customer file formats. With an XML file it's easy to get or create an XSD to describe the XML file format. I'm looking for something similar to describe a flat fi...
Should I use a flat file or database for storing quotes for a random quotations app on Android?
I am developing an app on Android that will randomly pick and display an inspirational quotation (or verse) from a large collection of quotations. On Android I can choose between a flat file and an SQLite database. The app should satisfy the following conditions: Be scalable to 10^6 quotation...
Viewstate in flat files vs viewstate in SQLserver
I wrote my own PageStatePersister class based on SessionPageStatePersister which writes the most recent 10 Viewstates for a session to a shared disk. I figure this will scale better than keeping Viewstate in session since all web servers have access to it, they won't have to deal with expiration...
locating a flat file from SQL server 2005
I have built an SSIS job in visual studio 2005 that accesses a flat file and updates a table in SQL Server 2005. This works perfectly. I then store a copy on SQL Server by using the server storage option in the protection level property. When I try to run this it cannot locate the flat file. The ...
SSIS: How to read flatfile and add a new row to the file
I have a text file and needs to read it and change some text and add some new text in a new row. How do I add e new row with some text in it? I now use a script component to read existing rows and change in them but I can't add a new row :-( Thanks in advance Regards Brno
Biztalk - processing a flat file receives "no subscribers found" message
I've created a flat file schema in Visual Studio from an instance of a CSV file I have, and it validates fine, and I've hooked up an orchestration to send and receive ports set to expect a file of that schema. When I publish the orchestration and use it to pick up a file, it's immediately suspend...
How do I retrieve only the top x rows from a flatfile in SSIS
I have a flatfile connection and I'm only interested in the first 10 rows of data. How can I just import the first 10 rows? Row sampling is random so I can't use that. Is there some way I can have some sort of derived column which is an automatic row number or something and then data-split to onl...
Remove first line from a text file using XSLT
I'm working with a system (Maximo) that generates a text file. I need to remove just the first line of the file. The way to do that should be using XSLT. Any idea?
What is faster, flat files or a MySQL RAM database?
I need a simple way for multiple running PHP scripts to share data. Should I create a MySQL DB with a RAM storage engine, and share data via that (can multiple scripts connect to the same DB simultaneously?) Or would flat files with one piece of data per line be better?
SQL and Flat Files... In harmony?
I was just thinking, how quick it would be to store the actual data of an application in a flat file. Now, you can't just go storing everything in a flat file... sometimes sorts and searches are required, and to go through directories and files recursively could be a pain. Now, imagine, you s...
Using SSIS to read flat files with multiple record types
We are evaluating SSIS to see if it will be appropriate for a new project that is coming up. One of the processes will have to process a flat file with delimited records. The file will contain orders. There is a header line, an (optional) shipping address line, and one or more detail lines. E...
What is the best way to store downloaded files?
Sorry for the bad title. I'm saving web pages. I currently use 1 XML file as an index. One element contains file created date (UTC), full URL (w. query string and what not). And the headers in a separate file with similar name but appended special extension. However, going at 40k (incl. header)...
Many to one join help for flat file
I’m not sure if this has already been asked – I looked around for quite a bit but couldn’t find anything. My end result is to get data from several of my SQL database tables into a comma delimited flat file. Normally this would not be a problem but due to their many to one relationship and the f...
Converting Flat File to Java Objects
Does anybody know of any good libraries to convert a flat file to Java objects? I found flatworm but I am looking for alternatives.
Importing big (and corrupt?) plaintext files into mysql broken my lamp install
I was importing data from txt files into mysql (via php script). This dump is huge, it's splitted into 10 files. I imported first and second one and everything was ok - I could see all entries in phpmyadmin, etc. There were about 700 000(?) of entries. When i started to import third one something...
How to import to SQL Server 2005 from flat file with data transformations
I have a flat data file that I need to import into my SQL Server 2005 DB. Many of the fields need to be split off into different, related tables. For example, the flat file has names, addresses and telephone numbers, all in one record. In my DB, the Person table has many Telephones and Address...
Действительно ли полезно хранить контент в плоском файле, чем в базе данных, для лучшего поиска в google / yahoo / bing?
Я только что наткнулся на несколько статей, выбирая вики для своего личного сайта. Я сбит с толку, поскольку я настраиваю личную вики для своих личных проектов, я думаю, что плоская файловая система хороша даже для поддержки изменений проектной документации, проектных решений и комментариев / от...
Выгрузка строк blob в файлы из MySQL
У меня есть таблица с несколькими тысячами строк, в которой есть несколько целочисленных столбцов и столбец blob. Я хочу выгрузить каждую строку как отдельный файл, в котором blob является содержимым, а целые числа используются для формирования имени файла. Это одноразовая операция, так что быст...
Строка Unicode в плоский файл из vba
Я хочу сохранить строку Unicode в плоском файле в окне Windows из макроса excel / vba. Макрос преобразует обычную строку в представление Unicode, необходимо сохранить его в файле и получить позже.
Есть ли способ изменить порядок полей в источнике плоского файла SSIS?
У меня есть пакет SSIS, использующий источник плоских файлов с разделителями табуляцией и ТОННОЙ полей. Недавно поставщик плоского файла с разделителями табуляцией решил изменить формат плоского файла, добавив в файл наугад пару десятков новых полей. Излишне говорить, что это залило пакет. Вм...
Самый поддерживаемый способ защиты плоских файлов (sqlite db) от доступа HTTP?
Я разрабатываю приложение PHP, которое использует SQLite в качестве системы управления базами данных, MySQL и PostgreSQL и т. д. не являются альтернативой (хотя я действительно хотел бы использовать pgsql), потому что я хочу, чтобы настройка была очень удобной для новичков и нулевой - одинаково ...
Создайте плоский файл, который объединяет несколько строк rtansaction в одну строку в SQL * PLus
Как сказано в заголовке, мне нужен метод объединения нескольких строк в один настоящий вывод для каждой учетной записи. Например, таблица выглядит так: Транзакция по счету 12345678 ABC 12345678 DEF 12346578 GHI 67891011 ABC 67891011 JKL Мне нужен вывод: 12345678 | ABC | D...
Может ли NHibernate сохраняться в плоских файлах вместо базы данных?
Любопытный вопрос. У меня есть приложение, которое должно поддерживать как плоские файлы, так и базу данных как место для хранения данных. Я подумал, может быть, использовать .csv или набор файлов с разделителями-табуляторами в качестве ввода ... Можно ли использовать NHibernate для записи дл...
Требуется помощь с древней неизвестной системой хранения
Доброе утро, Я пошел и сказал клиенту, что могу перенести некоторые из их старых данных из системы на основе DOS в новую систему, которую я разработал для них. Однако я сказал, что не глядя на файлы, в которых хранятся данные в старой системе - я просто подумал, что быстрый Google решит для м...
Как мне выполнить полнотекстовый поиск плоских файлов с помощью Perl?
У нас есть веб-приложение на основе Perl, данные которого берутся из обширного репозитория плоских текстовых файлов. Эти плоские файлы помещаются в каталог в нашей системе, мы тщательно анализируем их, вставляя биты информации в базу данных MySQL, а затем перемещаем эти файлы в их архивный репоз...
Ищу библиотеку C ++ для базы данных плоских файлов / XML с открытым исходным кодом
Мне нужна легкая библиотека базы данных, которую я могу скомпилировать в приложение C ++. Есть ли такие?
Итерировать результаты поиска по столбцам
Есть ли в Vim (или подключаемом модуле) способ поиска термина и перебора результатов поиска (согласно n в Vim) по столбцам, а не по строкам? Итак, если бы мой файл был таким: foo1 bar bar baz baz foo3 baz baz foo4 foo2 bar bar Если я ищу foo, я хочу перебирать результаты в п...
Как убедить команду программистов отказаться от старых обычаев?
Это скорее вопрос программирования, ориентированный на бизнес, и я не могу понять, как его решить. Я работаю с командой программистов, которые работают с BASIC более 20 лет. Меня пригласили помочь написать то же программное обеспечение на .NET, только с обновлениями и современными методами. Проб...
Невозможно разделить текстовый файл разделителем |
Я использую C #. Я пытаюсь вставить текстовый файл в объект. Я использую соединение ODBC, и это выглядит так Драйвер = {Microsoft Text Driver (* .txt; * .csv)}; Dbq = C: \ Users \ Owner \ Desktop \ IR \ IR_Files \ Absolute; Extensions = asc, csv, tab, txt; Я могу установить соединение, ...