Forum Replies Created

Viewing 15 posts - 91 through 105 (of 14,952 total)

  • RE: changing ALL font sizes on a chart

    You could open the RDL in an XML editor (Notepad++ works great for that), and use search-and-replace in there.

  • RE: How to tell when all files are in a directory

    Why depend on two asynchronous processes?

    Can the process that generates the files log when it's done, and then the process that uses the file checks that log? Make it...

  • RE: What is SQL Fertilization any links?

    I've seen plenty of BS in databases, but I've never seen anyone advertise for it in a job description...

  • RE: T-SQL: Aggregate and/or conditional subquery on where clause

    I'm a little confused on your requirements.

    Is this correct:

    LOT must be more recent than 90 days in past

    Most recent SHIPMENT must be earlier than 90 days in past

    Is that what...

  • RE: Column to Rows Sql help

    Any reason to not use UNPIVOT for this?

    SELECT

    Batch,

    Account,

    Item,

    Ref,

    PageNo,

    ItemNo

    FROM

    (SELECT

    *

    FROM

    sktrans) AS S

    UNPIVOT ( ItemNo FOR ItemCol IN (ItemNo1, ItemNo2, ItemNo3, ItemNo4, ItemNo5) ) AS UP;

  • RE: Something about licensing SQL Server

    Check with Microsoft on that. They have phone and online support for licensing questions. Answers you get from them are official. Anything you get from us is...

  • RE: More Overloads

    Goes right along with new words for old concepts. "Cloud" = "client-server", and so on.

    We have words with multiple meanings ("DBA" is right up there for unlimited ambiguity), and...

  • RE: Exception handling in SP

    Try...Catch can do what you need.

    Example:

    CREATE PROC dbo.Proc2 (@Input_in VARCHAR(100))

    AS

    SET NOCOUNT ON;

    RAISERROR('Proc2 failed', 16, 1);

    SELECT

    @Input_in;

    GO

    CREATE PROC dbo.Proc1

    AS

    SET NOCOUNT ON;

    BEGIN TRY;

    EXEC dbo.Proc2 @Input_in = 'Hello world';

    END TRY

    BEGIN CATCH

    SELECT

    ERROR_MESSAGE();

    END CATCH;

    GO

    EXEC dbo.Proc1;

  • RE: Bias, the Serial Killer of Diversity

    David.Poole (5/27/2016)


    If you turn up to an interview as Britain's worst presented compost heap then more fool you. You don't know who you are going to meet, whether visitors...

  • RE: Must declare the scalar variable "@value4".

    In the scope of your Exec statement, "exec (@qry)", @value4 is not declared. It's declared outside of that.

    Take a look at sp_executesql, instead of exec, for running dynamic SQL...

  • RE: SQL Server 2014 installation failure.

    ...NT Service\MSSQL$SQLSERVER2014 with the currently configured password due to the following error:

    This user isn't allowed to sign in to this computer.

    The problem isn't your login. It's the service...

  • RE: Editing/Removing Connections in Maintenanace Plans

    I don't think you can batch-modify maintenance plans.

    That's one of the advantages of writing your own, using SSIS and T-SQL, instead of using the built-in tools. When you write...

  • RE: Indexes have been identified with an index key larger than the recommended size (900 bytes)

    Customize the sub-query Where clause to suit your needs, of course.

  • RE: Should I Stay or Go?

    Recombinant (5/27/2016)


    GSquared (5/27/2016)


    Don't leave because you think something else might be better. Leave because you know it will be better.

    Completely agree but most people leave because they know that...

  • RE: Executing as my own context

    martin.whitton (5/27/2016)


    Yes, "really dangerous".

    I can't imagine any situation where it would be good practice to do this (although I understand how it could be tempting).

    Does anyone have an example of...

Viewing 15 posts - 91 through 105 (of 14,952 total)