Showing posts with label utility. Show all posts
Showing posts with label utility. Show all posts

Friday, March 23, 2012

GACUTIL.exe Not Available

Hello,

I am going through some examples on how to build custom tasks, and apparently, I don't have the gacutil.exe utility. I guess it does not come with the .NET Framework 1.1 or 2.0.

How do I get this utility?

Thank you for your help!

cdun2

Try installing the .Net Framework SDK 2.0 if it is really nowhere to be found. If you are using Visual Studio, I would have expected to be there as the SDK is part of the default install, it may even be required. Have you done a full Search on your machine?

It is not included with the smaller .Net Framework redistribution package aimed at client mahines.

|||

Thank you, I will look into this.

cdun2

Wednesday, March 21, 2012

future of English Query??

I think English Query is a great utility, but I didn't hear anything about
the improvement and enhancement in SQL 2005.
Does anyone know the future of English Query? We should continue using
English Query in the development or we should decommission it?SQL Server 2005 Books Online says:
English Query has been discontinued. There are no upgrade options or setup
programs for English Query in this release.
--
HTH,
Vyas, MVP (SQL Server)
SQL Server Articles and Code Samples @. http://vyaskn.tripod.com/
"Kam" <Kam@.discussions.microsoft.com> wrote in message
news:E03C9DE5-201E-40E9-9522-DAF277331DA2@.microsoft.com...
I think English Query is a great utility, but I didn't hear anything about
the improvement and enhancement in SQL 2005.
Does anyone know the future of English Query? We should continue using
English Query in the development or we should decommission it?|||Do you know is there any product from Microsoft can replace it?
"Narayana Vyas Kondreddi" wrote:

> SQL Server 2005 Books Online says:
> English Query has been discontinued. There are no upgrade options or setup
> programs for English Query in this release.
> --
> HTH,
> Vyas, MVP (SQL Server)
> SQL Server Articles and Code Samples @. http://vyaskn.tripod.com/
>
> "Kam" <Kam@.discussions.microsoft.com> wrote in message
> news:E03C9DE5-201E-40E9-9522-DAF277331DA2@.microsoft.com...
> I think English Query is a great utility, but I didn't hear anything about
> the improvement and enhancement in SQL 2005.
> Does anyone know the future of English Query? We should continue using
> English Query in the development or we should decommission it?
>
>

Friday, February 24, 2012

full-text search of SP/trigger source?

Is there any Microsoft utility that will search through the source of SPs,
triggers, and functions, looking for a string? (Something beyond the
dependencies listing).
Thanks
TimoThere isn't anything built-in that I'm aware of. You can either script the
objects to files using Enterprise Manager and then search the files or run a
query like the one below to search syscomments. Note that the query method
isn't 100% accurate since a string may be split between 2 rows.
SELECT OBJECT_NAME(id)
FROM syscomments
WHERE text LIKE '%MyString%'
Hope this helps.
Dan Guzman
SQL Server MVP
"Timo" <timo@.noneofyer.biz> wrote in message
news:usSnZrvEFHA.3936@.TK2MSFTNGP10.phx.gbl...
> Is there any Microsoft utility that will search through the source of SPs,
> triggers, and functions, looking for a string? (Something beyond the
> dependencies listing).
> Thanks
> Timo
>|||Timo
Vyas has written a great script
DROP PROCEDURE sp_FindObject
GO
CREATE PROCEDURE sp_FindObject
@.SearchString varchar (255)
AS
SET nocount ON
DECLARE @.Name varchar(255)
DECLARE @.Text nvarchar(4000)
CREATE TABLE #Objs
( ObjName varchar (255))
DECLARE Obj CURSOR
FOR SELECT [NAME],[TEXT] FROM sysobjects so, syscomments sc WHERE (so.xtype
='TR' or .....) AND so.id = sc.id
OPEN Obj
FETCH Next FROM Obj INTO @.Name,@.Text
WHILE @.@.FETCH_STATUS=0
BEGIN
IF PATINDEX(@.SearchString,@.Text) <> 0
INSERT INTO #Objs VALUES (@.Name)
FETCH Next FROM Obj INTO @.Name,@.Text
END
CLOSE Obj
DEALLOCATE Obj
SELECT objname FROM #Objs GROUP BY objname
DROP TABLE #Objs
go
EXEC sp_FindObject '%HOST_ID()%'
"Timo" <timo@.noneofyer.biz> wrote in message
news:usSnZrvEFHA.3936@.TK2MSFTNGP10.phx.gbl...
> Is there any Microsoft utility that will search through the source of SPs,
> triggers, and functions, looking for a string? (Something beyond the
> dependencies listing).
> Thanks
> Timo
>|||Dan, Uri
Thank you both for the help!
Timo