I have a problem in inserting data from a sheet into database. Some people say that this can be done using (UNO) RowSet, but i find minimal example for this. Could anyone give my a sampe of this?
Open for other ways, as long it use UNO
I found it difficult to do this by using UNO, so i settling the problem by use plain SQL.
Related
I am new to LabVIEW and trying to make a small project. In LabVIEW from one device, I am measuring some values and then need to store them in database. Initially, I used Excel to store data. But now I need to add MySQL functionality to store data and then later retrieve when need for analyzing.
I look for NI toolkit but it is expensive. I need some free and open source solution for my project.
I search over SO and google to find any examples where I can start and make it work, but I couldn't find any.
If someone suggest me some resources or having some example code that I can use to achieve my goal. thanks in advance.
Take a look at LabSQL. This works in LabVIEW 2017, allowing connection to a MySQL database without NI's LabVIEW Database Connectivity Toolkit.
I normally use the Database Connectivity Toolkit, but I did confirm I could get this to work in 2017 as well (though connecting to a MSSQL database instead of MySQL).
The only thing that tripped me up at first was not using the Create Connection before Open Connection (because I was used to the aforementioned toolkit). I didn't try anything complicated; I just ran a simple selection query. But it looks like everything should work pretty similarly to the toolkit. As adambro said, if you have a more specific question, maybe we can help with an answer.
I would suggest you could use SQLite. It is a fairly easy toolkit. You can download it via the VI package manager. By dr. James Powell. SQLite is excellent in storing data locally.
Use the SQLite browser from sqlitebrowser.org.
Also a nice way to learn SQL!
I am new to mysql and databases in general. I've come across a problem that I can't seem to find a solution too. I'm not sure even how to word the scenario.
Basically I have a concatenated field that I need to take "explode" and make each value its of that field its own row. I'm pulling this data from a daily feed, so this needs to be automated as either a trigger, stored procedure, or scheduled job in Talend. Here is a simplified version of the situation. Please see the "current file format" and the "desired outcome" pics. Sorry- this is my first post here! Any help would be appreciated!
I am using a mysql database. Currently the file is coming in via csv export, but I will be connecting via Talend Open Studio to sync the data. See the links below for and example. Here is a sample.
A precise answer is difficult without seeing your code, and the sample link returns 404 for me. You should be able to do this within Talend. Try using Talend’s tExtractDelimitedFields or tExtractRegexFields commands to achieve the result you want.
I have been working on a sharepoint search tool. I know very little about sharepoint so if anyone can point me in the right direction it would be greatly appreciated.
I have a number of tables on a sharepoint site. One of the tables contains the "People" in the database. I have the ability to view this table as a linked table using access, but my coworkers do not have the permissions to do so. My way around it was to use a make table query insert a table into a shared folder and give them read only front end in access to search for the client and when they find them open up a hyperlink to the person on sharepoint. The search feature works great, but I have to manually update the local table (using make table) (which I am not able to do if someone is using the search).
As I see it there are two ways I might be able to solve this, but I am open to any ideas I am by no means an expert:
Is there a better way to search in sharepoint? - I am hoping to have something where they are able to enter in a first name last name dob etc and find the results that match the fields and allow a partial match (so if some fields aren't entered they are ignored). I have not found anything that was able to help me do this, but I do not know what it would be called so if you know what I should look into I would greatly appreciate it!
Is there a way to update the table in Access while someone is using it? Is there another way to accomplish this in access?
What direction do you think I should take? I am usually able to find the information I need online, but I have not had too much success with this.
Thank you!
http://root site URL/_catalogs/users/simple.aspx
This syntax will get you to your hidden user content type list on a SP 2010 site - and you can change the view on this to give you different fields. I haven't yet found a way for this to link to anything that gives me site/list/library access rights, but have found it EXTREMELY useful in place of anything approaching a third party central user administration tool. - You might be able to do something with this for what you're trying to do.
I'm looking to construct a script that would go through an XML file. Would find specific tags in it, put them in a table and fill the table with specific tags within them. I'm using MySQL 5.1 so loadXML isn't an option and I think that ExtractData() method wont be much use either.. but I don't really know. What would be the best way to go about this?
edit// I know how to do all of this in C except the creating the new tables in a database, how would I do that in C?
Per your edit, using the MySQL client library, you would just use mysql_query() with the standard CREATE TABLE syntax.
I'm not quite sure why you are doing it the way you are doing it, but I'm not working on whatever you are working on :)
Have a look at this blog. It will explain you how to do this using ExtraceValue() and also look at XML Functions.
This seems to be the hardest thing to get help with - there are no books, no useful google results, and borland's own help facilities are far to complicated for me to isolate the answers I need.
I want to make a connection to an already existing microsoft access database using builder.
I want to be able add/delete/read the records. that's all.
Or failing that. how do I create a simple database/table using builder. It would be ideal if I had an application that could create a table if it didn't already exist, then use that table from that point onwards.
I want to avoid creating DSNs. I want direct access to the database from builder.
If you could point me in the direction of a good online tutorial for this that would be a start. If you could actually provide the help yourself (ie tell me how to do it, rather than show me an article) that would be great and I'd be very greatful.
in portuguese:
http://www.caloni.com.br/blog/archives/banco-de-dados-no-c-builder
see if fits your question
Have you looked at the VCL's ADO components yet? TADOConnection, TADOCommand, etc.