Re: saving ad-hoc sqlserver scripts via Visual Studio
- From: "William \(Bill\) Vaughn" <billvaRemoveThis@xxxxxxxxxx>
- Date: Thu, 4 Jan 2007 17:42:06 -0800
Yes, by creating a database project. It has the ability to help you create
and store SQL scripts.
--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
INETA Speaker
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
Visit www.hitchhikerguides.net to get more information on my latest book:
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
-----------------------------------------------------------------------------------------------------------------------
"Fred Exley" <jqr@xxxxxxxxxxxxxx> wrote in message
news:12pqqgta97n7798@xxxxxxxxxxxxxxxxxxxxx
I come from an Oracle background, where one can, in addition to having
stored procedures in the db, load and run text files containing sql DDL or
DML commands. But I can't seem to find an equivalent in VS2005. I can
create and run an ad-hoc query in the SQL Pane, provided I have already
opened a particular table, but then I don't see how to save that ad-hoc
query as an external script for later use. Is there a way to do this,
rather than making a formal stored procedure? thanks
.
- Follow-Ups:
- Re: saving ad-hoc sqlserver scripts via Visual Studio
- From: Cor Ligthert [MVP]
- Re: saving ad-hoc sqlserver scripts via Visual Studio
- References:
- saving ad-hoc sqlserver scripts via Visual Studio
- From: Fred Exley
- saving ad-hoc sqlserver scripts via Visual Studio
- Prev by Date: Re: Storing Connection String
- Next by Date: Re: Failover Partner SQL 2005 Only?
- Previous by thread: saving ad-hoc sqlserver scripts via Visual Studio
- Next by thread: Re: saving ad-hoc sqlserver scripts via Visual Studio
- Index(es):
Relevant Pages
|