rychard / sqlconverter Goto Github PK
View Code? Open in Web Editor NEWC# application that connects to a SQL Server database and creates a SQLite copy.
C# application that connects to a SQL Server database and creates a SQLite copy.
For instance, there should be at least one queue item per table, and the completion of that task depends on creating the table within the SQLite database, as well as copying the data over. The data could display progression based on how many records have been inserted into the SQLite database out of the number of records that existed in the source table.
Calculate the time taken for the conversion process. If possible, do not include any elapsed time while user prompts are open.
After a SQLite database is generated, the file remains locked until the application is closed.
As there is no code that executes when the program is exiting, I am led to believe that the operating system is cleaning up file handles that are erroneously left open by the code.
After the generation of SQLite files, I have to rename them prior to using them in my project, as it requires SQLite databases to follow a specific naming convention. It would be ideal if I could specify a template string in the XML configuration file that would construct the name of the file dynamically based on the presence of supported tokens. It's important that it supports multiple tokens in the template string.
Examples of replacements:
%h
= 2-digit hour in 24-hour format
%H
= 2-digit hour in 12-hour format
%a
= AM or PM
%i
= 2-digit minute
%s
= 2-digit second
%d
= 2-digit day of the month
%m
= 2-digit month of the year
%Y
= 4-digit year (e.g., 2005)
%y
= 2-digit year (e.g., 05)
%f
= Windows file time
%u
= unix time
%g
= random GUID
%t
= prompt for user text
Currently, there's no way to determine the time it takes any individual process to complete. Simply prefixing the status messages with a timestamp would allow this to be done at a glance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.