Home All Groups Group Topic Archive Search About

Inline Queries Definition

Author
30 Sep 2005 4:45 PM
Sudhakara.T.P.
hi,
Can anyone let me know the exact definition of "What do you mean by Inline
Queries in SQL Server?.

I have heard lot of people talking about Inline Queries but when asked about
the definition of that, I am not getting the exact answer for that.

Regards
Sudhakara.T.P.

Author
30 Sep 2005 5:12 PM
Jerry Spivey
Sudhakara,

I'm guessing a query in the FROM clause of another query.  There are also
inline user-defined functions as well.

HTH

Jerry
Show quote
"Sudhakara.T.P." <Sudhakar***@discussions.microsoft.com> wrote in message
news:F41ADBFB-5757-4C69-9997-89BB6183D42A@microsoft.com...
> hi,
> Can anyone let me know the exact definition of "What do you mean by Inline
> Queries in SQL Server?.
>
> I have heard lot of people talking about Inline Queries but when asked
> about
> the definition of that, I am not getting the exact answer for that.
>
> Regards
> Sudhakara.T.P.
Author
2 Oct 2005 2:38 AM
--CELKO--
>> inline user-defined functions <<

This sounds like BASIC in the 1960's   when we could  use a FN command
to mimic a FORTRAN statement.
Author
2 Oct 2005 3:04 AM
Jerry Spivey
For more information on inline user-defined functions see:

Inline User-Defined Functions
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/createdb/cm_8_des_08_73lf.asp

HTH

Jerry
Show quote
"--CELKO--" <jcelko***@earthlink.net> wrote in message
news:1128220723.526068.135810@o13g2000cwo.googlegroups.com...
>>> inline user-defined functions <<
>
> This sounds like BASIC in the 1960's   when we could  use a FN command
> to mimic a FORTRAN statement.
>
Author
30 Sep 2005 9:33 PM
Hugo Kornelis
On Fri, 30 Sep 2005 09:45:01 -0700, Sudhakara.T.P. wrote:

>hi,
>Can anyone let me know the exact definition of "What do you mean by Inline
>Queries in SQL Server?.
>
>I have heard lot of people talking about Inline Queries but when asked about
>the definition of that, I am not getting the exact answer for that.

Hi Sudhakara.T.P.,

I'm not sure if "inline queries" is an official term (I doubt it), but
I've sometimes seen it used in the context: "Use a user-defined function
or an inline query" - in which case it means that the functionality from
the user-defined function is included in the query instead of calling
the UDF.

If done with a table-valued UDF, the result is a derived table. If done
with a scalar UDF, the result is simply an (often complicated)
expression.

Best, Hugo
--

(Remove _NO_ and _SPAM_ to get my e-mail address)

AddThis Social Bookmark Button