Forum Replies Created

Viewing 15 posts - 361 through 375 (of 582 total)

  • RE: Build string from passed parameters

    This gets the results that you want.

    DECLARE @Name varchar(100),

    @Number int,

    @ClassName varchar(100),

    @ErrorMessage varchar(2000)

    ...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Send email through alert automatically on perfomance threshold

    Check to make sure you have a mail profile enabled in the Alert System properties of SQL agent.

    Right-click on SQL Server Agent in SSMS, choose properties, then go to the...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Scheduling an SSIS 2008 Package on a SQL 2005 server?

    Unfortunately it wont work.

    http://www.sqlservercentral.com/Forums/Topic1079134-391-1.aspx

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Error in query

    Take the * out of you column list. like so:

    SELECT IPTU.DimImovel.DimGeograficaID,

    Pub.DimGeografica.Geo_CL,

    Pub.DimGeografica.Geo_Logradouro,

    Pub.DimGeografica.Geo_Bairro,

    Pub.DimGeografica.Geo_AreaPlanejamento,

    Pub.DimGeografica.Geo_RegiaoAdmin,

    Sum (IPTU.FatoLancamentoIPTU.Val_IPTU) AS [val iptu]

    FROM Pub.DimGeografica

    INNER JOIN IPTU.DimImovel

    ON Pub.DimGeografica.DimGeograficaID =

    IPTU.DimImovel.DimGeograficaID

    INNER JOIN IPTU.FatoLancamentoIPTU

    ON IPTU.DimImovel.InscricaoImobiliaria =

    IPTU.FatoLancamentoIPTU.InscricaoImobiliaria

    GROUP BY IPTU.DimImovel.DimGeograficaID,

    Pub.DimGeografica.Geo_CL,

    Pub.DimGeografica.Geo_Logradouro,

    Pub.DimGeografica.Geo_Bairro,

    Pub.DimGeografica.Geo_AreaPlanejamento,

    Pub.DimGeografica.Geo_RegiaoAdmin

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Determine if SQL Server is running on VM

    SELECT @@VERSION

    This will tell you if instance in on hypervisor.

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Need the Ability be able to search DB Objects for Text

    Have a look at the sys.sql_modules(http://msdn.microsoft.com/en-us/library/ms175081.aspx) system view. The definition column should have the data you are looking for.

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Linked server with mapped windows authentication

    Thanks Colleen. I had thought of this and double checked my setup for kerberos which looks ok. If kerberos was not setup properly the linked server would not work with...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Opening .sql in SSMS - R2

    using "Database Engine Query", either from the button in tool bar or the file menu, will cause the prompt when subsequently opening .sql files. This will only persist for the...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: charindex failure - SQL Server 2008 bug?

    I do not know if this will work for you but if you change the datatype of your text_value column in the query to non unicode the correct values are...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Convert() Functionality -> MS webpage error?

    If you use Style 1 when converting from a character string to a binary value, the input character string should include the 0x prefix; if you use Style 2, it...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Splitting a CSV demilited Column to rows using DelimitedSplit8K function

    Check the compatibility level of the database. It worked fine for me until i changed the compatibility level of the database that the function was installed in to sql2000.

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: SSMS Trama (yes, this is really bugging me)

    Your set up must be completely different from mine. The shortcut keys for File -> Open -> File are Ctrl-Shift-Insert (not Ctrl-O) on my version of SSMS. And it does...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: How to call a UDF from a linked server inside and select query

    not certain but possibly cross apply (http://msdn.microsoft.com/en-us/library/ms175156.aspx) might work.

    something like this

    INSERT INTO [ToolKit_Prod].[dbo].[MedicalLicense]

    ([ProviderID]

    ...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Unable to set up Share Point 2010 using the DBA created databases

    Did you check you created databases for any user created objects? even if you did not create any objects manually there may be some in model and thus also in...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: SSMS Trama (yes, this is really bugging me)

    Doesn't work that way. Database Engine Query creates a new query window. It doesn't allow me to browse my file system for previously saved queries.

    For me it does work that...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

Viewing 15 posts - 361 through 375 (of 582 total)