Re: NEWBIE - SQL SUBSTR Function in asp.net by Cowboy
Cowboy
Tue Aug 17 07:31:10 CDT 2004
It depends on the database. For SQL Server, you should be fine. If you are
using SQL Server, however, I would encapsulate all logic in stored
procedures. It is easier to maintain (separation of UI and data access),
performs better (precompiled) and can be tested as a separate unit.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
************************************************
Think Outside the Box!
************************************************
"RockNRoll" <daveweber@yahoo.com> wrote in message
news:uckZKOFhEHA.3388@TK2MSFTNGP09.phx.gbl...
> Greetings,
>
> I have a quick question here. Can I use the SQL SUBSTR() function in my
SQL
> statements in an asp.net page? I am getting an error when I try.
>
> Can anybody point me to a list of functions that are recognized and valid
> for SQL statements in asp.net pages? Thank you,
>
> -Dave
>
>