I wish to send dynamic SQL to Openquery but it seems OpenQUERY only accepts
string constants. Any advise on how to do this. It would convenient if
Openquery could execute similar to dynamic SQL EXEC.
Please advise.
Regards,
Tim PeeIf you need it to be dynamic, you can build the entire
string that does the Openquery statement. Pass that string
into an EXEC. You can find examples in the following
article:
HOW TO: Pass a Variable to a Linked Server Query
http://support.microsoft.com/?id=314520
-Sue
On Thu, 23 Jun 2005 21:34:04 -0700, Timothy Peer
<TimothyPeer@.discussions.microsoft.com> wrote:
>I wish to send dynamic SQL to Openquery but it seems OpenQUERY only accepts
>string constants. Any advise on how to do this. It would convenient if
>Openquery could execute similar to dynamic SQL EXEC.
>Please advise.
>Regards,
>Tim Pee
Showing posts with label convenient. Show all posts
Showing posts with label convenient. Show all posts
Wednesday, March 28, 2012
OpenQuery
I wish to send dynamic SQL to Openquery but it seems OpenQUERY only accepts
string constants. Any advise on how to do this. It would convenient if
Openquery could execute similar to dynamic SQL EXEC.
Please advise.
Regards,
Tim Pee
If you need it to be dynamic, you can build the entire
string that does the Openquery statement. Pass that string
into an EXEC. You can find examples in the following
article:
HOW TO: Pass a Variable to a Linked Server Query
http://support.microsoft.com/?id=314520
-Sue
On Thu, 23 Jun 2005 21:34:04 -0700, Timothy Peer
<TimothyPeer@.discussions.microsoft.com> wrote:
>I wish to send dynamic SQL to Openquery but it seems OpenQUERY only accepts
>string constants. Any advise on how to do this. It would convenient if
>Openquery could execute similar to dynamic SQL EXEC.
>Please advise.
>Regards,
>Tim Pee
string constants. Any advise on how to do this. It would convenient if
Openquery could execute similar to dynamic SQL EXEC.
Please advise.
Regards,
Tim Pee
If you need it to be dynamic, you can build the entire
string that does the Openquery statement. Pass that string
into an EXEC. You can find examples in the following
article:
HOW TO: Pass a Variable to a Linked Server Query
http://support.microsoft.com/?id=314520
-Sue
On Thu, 23 Jun 2005 21:34:04 -0700, Timothy Peer
<TimothyPeer@.discussions.microsoft.com> wrote:
>I wish to send dynamic SQL to Openquery but it seems OpenQUERY only accepts
>string constants. Any advise on how to do this. It would convenient if
>Openquery could execute similar to dynamic SQL EXEC.
>Please advise.
>Regards,
>Tim Pee
Monday, February 20, 2012
Online Management!
Is there any tools available that allow you to manage sql server online.
Obviously, if a website has an sql server back end it would be convenient to
have some sort of web based gui.
Are these kind of tools available, so i can ask my web host if i can use
something like that.
AJ
I typically build my own; for most of my consulting clients, I want to be
able to manage their database/site, and I want them to be able to manage it
too, but obviously I want us to have a separate tier of functionality. So I
haven't taken the time to investigate tools that likely aren't flexible
enough for my needs. But there are many tools out there that can handle the
basic things like creating/dropping tables, creating procedures, users, etc.
http://www.aspfaq.com/2442
http://www.aspfaq.com/
(Reverse address to reply.)
"Anthony Judd" <adam.jknight@.optusnet.com.au> wrote in message
news:OAEcdg0qEHA.3760@.TK2MSFTNGP09.phx.gbl...
> Is there any tools available that allow you to manage sql server online.
> Obviously, if a website has an sql server back end it would be convenient
to
> have some sort of web based gui.
> Are these kind of tools available, so i can ask my web host if i can use
> something like that.
> AJ
>
|||I also haven't had time to play, but I think there is a free download from
MS which is a web based SQL tool...Look around at www.microsoft.com/sql and
see if you can find it... Let us know what you think..
Wayne Snyder, MCDBA, SQL Server MVP
Mariner, Charlotte, NC
www.mariner-usa.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"Anthony Judd" <adam.jknight@.optusnet.com.au> wrote in message
news:OAEcdg0qEHA.3760@.TK2MSFTNGP09.phx.gbl...
> Is there any tools available that allow you to manage sql server online.
> Obviously, if a website has an sql server back end it would be convenient
to
> have some sort of web based gui.
> Are these kind of tools available, so i can ask my web host if i can use
> something like that.
> AJ
>
Obviously, if a website has an sql server back end it would be convenient to
have some sort of web based gui.
Are these kind of tools available, so i can ask my web host if i can use
something like that.
AJ
I typically build my own; for most of my consulting clients, I want to be
able to manage their database/site, and I want them to be able to manage it
too, but obviously I want us to have a separate tier of functionality. So I
haven't taken the time to investigate tools that likely aren't flexible
enough for my needs. But there are many tools out there that can handle the
basic things like creating/dropping tables, creating procedures, users, etc.
http://www.aspfaq.com/2442
http://www.aspfaq.com/
(Reverse address to reply.)
"Anthony Judd" <adam.jknight@.optusnet.com.au> wrote in message
news:OAEcdg0qEHA.3760@.TK2MSFTNGP09.phx.gbl...
> Is there any tools available that allow you to manage sql server online.
> Obviously, if a website has an sql server back end it would be convenient
to
> have some sort of web based gui.
> Are these kind of tools available, so i can ask my web host if i can use
> something like that.
> AJ
>
|||I also haven't had time to play, but I think there is a free download from
MS which is a web based SQL tool...Look around at www.microsoft.com/sql and
see if you can find it... Let us know what you think..
Wayne Snyder, MCDBA, SQL Server MVP
Mariner, Charlotte, NC
www.mariner-usa.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"Anthony Judd" <adam.jknight@.optusnet.com.au> wrote in message
news:OAEcdg0qEHA.3760@.TK2MSFTNGP09.phx.gbl...
> Is there any tools available that allow you to manage sql server online.
> Obviously, if a website has an sql server back end it would be convenient
to
> have some sort of web based gui.
> Are these kind of tools available, so i can ask my web host if i can use
> something like that.
> AJ
>
Online Management!
Is there any tools available that allow you to manage sql server online.
Obviously, if a website has an sql server back end it would be convenient to
have some sort of web based gui.
Are these kind of tools available, so i can ask my web host if i can use
something like that.
AJI typically build my own; for most of my consulting clients, I want to be
able to manage their database/site, and I want them to be able to manage it
too, but obviously I want us to have a separate tier of functionality. So I
haven't taken the time to investigate tools that likely aren't flexible
enough for my needs. But there are many tools out there that can handle the
basic things like creating/dropping tables, creating procedures, users, etc.
http://www.aspfaq.com/2442
--
http://www.aspfaq.com/
(Reverse address to reply.)
"Anthony Judd" <adam.jknight@.optusnet.com.au> wrote in message
news:OAEcdg0qEHA.3760@.TK2MSFTNGP09.phx.gbl...
> Is there any tools available that allow you to manage sql server online.
> Obviously, if a website has an sql server back end it would be convenient
to
> have some sort of web based gui.
> Are these kind of tools available, so i can ask my web host if i can use
> something like that.
> AJ
>|||I also haven't had time to play, but I think there is a free download from
MS which is a web based SQL tool...Look around at www.microsoft.com/sql and
see if you can find it... Let us know what you think..
--
Wayne Snyder, MCDBA, SQL Server MVP
Mariner, Charlotte, NC
www.mariner-usa.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"Anthony Judd" <adam.jknight@.optusnet.com.au> wrote in message
news:OAEcdg0qEHA.3760@.TK2MSFTNGP09.phx.gbl...
> Is there any tools available that allow you to manage sql server online.
> Obviously, if a website has an sql server back end it would be convenient
to
> have some sort of web based gui.
> Are these kind of tools available, so i can ask my web host if i can use
> something like that.
> AJ
>
Obviously, if a website has an sql server back end it would be convenient to
have some sort of web based gui.
Are these kind of tools available, so i can ask my web host if i can use
something like that.
AJI typically build my own; for most of my consulting clients, I want to be
able to manage their database/site, and I want them to be able to manage it
too, but obviously I want us to have a separate tier of functionality. So I
haven't taken the time to investigate tools that likely aren't flexible
enough for my needs. But there are many tools out there that can handle the
basic things like creating/dropping tables, creating procedures, users, etc.
http://www.aspfaq.com/2442
--
http://www.aspfaq.com/
(Reverse address to reply.)
"Anthony Judd" <adam.jknight@.optusnet.com.au> wrote in message
news:OAEcdg0qEHA.3760@.TK2MSFTNGP09.phx.gbl...
> Is there any tools available that allow you to manage sql server online.
> Obviously, if a website has an sql server back end it would be convenient
to
> have some sort of web based gui.
> Are these kind of tools available, so i can ask my web host if i can use
> something like that.
> AJ
>|||I also haven't had time to play, but I think there is a free download from
MS which is a web based SQL tool...Look around at www.microsoft.com/sql and
see if you can find it... Let us know what you think..
--
Wayne Snyder, MCDBA, SQL Server MVP
Mariner, Charlotte, NC
www.mariner-usa.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"Anthony Judd" <adam.jknight@.optusnet.com.au> wrote in message
news:OAEcdg0qEHA.3760@.TK2MSFTNGP09.phx.gbl...
> Is there any tools available that allow you to manage sql server online.
> Obviously, if a website has an sql server back end it would be convenient
to
> have some sort of web based gui.
> Are these kind of tools available, so i can ask my web host if i can use
> something like that.
> AJ
>
Subscribe to:
Posts (Atom)