There is not enough information here for anyone to help you.
What version of LabVIEW are you using? Are you using the database connectivity toolkit? Has it worked in the past?
I recommend digging through NI's site.
Advanced Search is a good place to start. You should also look at the postings at the bottom of this page?