Okay. You can do that. Do you have a specific question?
Also, I would recommend checking out the Database Connectivity toolkit. It is a series of VIs that use ADO for connecting to the databases. They have already been crafted to make the data connection easy to use inside LabVIEW. Might be less expensive than trying it out on your own. Look here for more information: http://sine.ni.com/nips/cds/view/p/lang/en/nid/6429
But you can do it yourself also.