How to execute an SQL command ?

Need help? Post your questions here.

Moderator: moderators

How to execute an SQL command ?

Postby yanes » Mon Oct 13, 2008 8:44 pm

Hi... my quest is very simple

Does anyone know how to execute an SQL command directly using Subsonic? For example:

SELECT DISTINCT TOP 100 PERCENT qty FROM [dbo].[sales]

There are one method GetSql() in the SubSonic.Query class that returns the SQL command.
Why there aren't exists one method SetSql()? Do know where is that method or any other equivalent?
yanes
 
Posts: 1
Joined: Mon Oct 13, 2008 5:26 pm

Postby sindre_mehus » Sun Oct 26, 2008 3:08 pm

You're probably looking for http://subsonicproject.com :-)
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway


Return to Help

Who is online

Users browsing this forum: No registered users and 5 guests