Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Building easy SQL queries

Posted on 2011-02-23
3
Medium Priority
?
248 Views
Last Modified: 2012-05-11
Hi,
I have a c# application accessing a mysql database. I am currently writing SQL statements to fire to mysql to populate a dataset. Is there an easy wizard which can generate these statements at run time (e.g. a drag and drop tool)?
Any advice would be appreciated.
Thanks
0
Comment
Question by:fred2k3
3 Comments
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 34965128
You might want to look into Linq-2-SQL or Entity Framework if you want it to write all the SQL for you:

    Linq-2-SQL: http://weblogs.asp.net/scottgu/archive/2007/05/19/using-linq-to-sql-part-1.aspx

    Entity Framework: http://msdn.microsoft.com/en-us/library/bb386876.aspx
0
 
LVL 30

Accepted Solution

by:
anarki_jimbel earned 2000 total points
ID: 34966962
0
 
LVL 3

Expert Comment

by:paulwquinn
ID: 35023527
From your original question, it seems you have the data available in another format... can you tell us what that format is?
0

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
This post looks at MongoDB and MySQL, and covers high-level MongoDB strengths, weaknesses, features, and uses from the perspective of an SQL user.
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month10 days, 10 hours left to enroll

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question