Forum Replies Created

Viewing 15 posts - 5,491 through 5,505 (of 8,753 total)

  • RE: Creating Mutliple Logins

    Jeff Moden (4/26/2015)


    Eirikur Eiriksson (4/26/2015)


    Jeff Moden (4/24/2015)


    Yeahhhh.... PoSH... NOT! 😉

    Surely you meant "Not posh enough":-D

    😎

    normally do these things on linux using sqsh[/url].

    Don't call me "Shirley". 😉

    ROFL, can I call you...

  • RE: Creating Mutliple Logins

    Jeff Moden (4/24/2015)


    Yeahhhh.... PoSH... NOT! 😉

    Surely you meant "Not posh enough":-D

    😎

    normally do these things on linux using sqsh[/url].

  • RE: Hi, first post! Interested in "Calls"

    Hi and welcome to the forum.

    Just a quick question, can you elaborate a little further on your request, i.e. describing the input and the results, how you are going to...

  • RE: creating range between values in query

    luissantos (4/26/2015)


    Hello again Eirikur

    Thanks a lot, this is exactly what i need, great help.

    Many thanks again.

    Best regards,

    Luis Santos

    Hi Luis,

    thank you for the feedback, happy to be of assistance

    😎

  • RE: "The Database <DatabseName> is not accessible. (Object explorer)" Error Message

    Quick thought, create the user login and grant the appropriate permissions

    😎

  • RE: License File Error on Reinstall

    SQLJocky (4/25/2015)


    Just uninstalled SQL 2012 Standard and reinstalled SQL 2012 Developer on a server that we have taken from production to development. But when I reinstalled and moved all...

  • RE: Trigger syntax error

    doug-583247 (4/26/2015)


    Thanks for the suggestion Eirikur, but that still produces a syntax error as shown below. I then removed the semicolon and then the syntax error moved the "...

  • RE: Trigger syntax error

    Quick suggestion

    😎

    Create Trigger trgInsertSalesForce

    on dbo.CustomerQuote

    AFTER Insert

    as

    begin

    Update CQ

    set CQ.SalesForceId = (select

    ...

  • RE: Running Balance Updation

    Quick suggestion, check the articles on this page Solving the "Running Total" & "Ordinal Rank" Problems in SS 2k/2k5[/url]

    😎

  • RE: creating range between values in query

    Quick suggestion, use CROSS JOIN, here is a quick example

    😎

    USE tempdb;

    GO

    SET NOCOUNT ON;

    IF OBJECT_ID(N'dbo.TBL_GROUP') IS NOT NULL DROP TABLE dbo.TBL_GROUP;

    CREATE TABLE dbo.TBL_GROUP

    (

    [Group] ...

  • RE: split a comma separated string into columns

    Jeff Moden (4/24/2015)


    To be honest, the front end is storing the data incorrectly. The data should be sorted with just one IP address per row and, once the table...

  • RE: Reducing Index Fragmentaion during Inserts

    The problem here is that the inserts are not in an ever increasing order, possible option would be adding an Identity column for the primary key and then a unique...

  • RE: Using a Window Aggregate in an Aggregate Query

    Stewart "Arturius" Campbell (4/26/2015)


    Never thought of doing it this way

    This is a very efficient method when aggregating with different grouping / level of details, comes close to the divide and...

  • RE: How can I rewrite this in better performance

    MotivateMan1394 (4/26/2015)


    You could try something like this ...

    Your Query Return Only One record

    And My Query Return records equal the T1 Records Number.

    First of all, Phil's query does not only return...

  • RE: How can I rewrite this in better performance

    MotivateMan1394 (4/25/2015)


    Hi

    How can I rewrite this in better performance :

    select *, ( SELECT TOP 1 Code FROM T2 WHERE T2.Id=T1.Id ...

Viewing 15 posts - 5,491 through 5,505 (of 8,753 total)