Forum Replies Created

Viewing 15 posts - 3,346 through 3,360 (of 13,469 total)

  • RE: Mistery never ending query

    show the real query, and you can generate an estimated execution plan without running the query at all. just highlight the query and click the button for estimated execution plan.

  • RE: defferred name resolution

    Krishna1 (6/4/2013)


    Dear All

    I am using sql 2008 . While compiling the procedures it does not give error even if table not present.

    I need to trap this error. How to achieve...

  • RE: Mistery never ending query

    if you have a specific performance problem, we really would want to see at least the estimated execution plan, and the actual query.

    when you abstract it out, you end up...

  • RE: Compare 2 tables... How to do that???

    like this?

    SELECT

    snetworkname,

    REPLACE(sNetworkName,'.noc','')

    FROM WhatsUp.dbo.NetworkInterface

    RIGHT OUTER JOIN WhatsUp.dbo.device

    ON WhatsUp.dbo.NetworkInterface.nNetworkInterfaceID...

  • RE: Critique - SQL Saturday Abstracts

    Brandi has a nice analysis;

    for this one:

    SQL Server Integration Services Recipes: (Beginner)

    I swept through forums to identify frequently asked questions posted by people getting started with SSIS. In this demo-centric...

  • RE: Mistery never ending query

    Besides NOLOCK being a bad idea in general, as it can lead to bad thinks like missing data, duplicate data and more, the NOLOCKS on a temp table are pointless.

    if...

  • RE: How have Trigger's example after insert send to mail on outlook?.

    because my Google-Foo is strong, I Gave "mysql send email" a try.

    That lead me to a link on the MySQL forums, and a subsequent link to a Visual Studio project...

  • RE: HOW TO EXECUTE 2-3 SQL STATMENTS ONE AFTER ANOTHER BASED ON THE RESULT OF PREVIOUS QUERY?

    Sean Lange (6/3/2013)


    You lost me a bit in here. There is no MERGE statement in what I posted. There is no delete. It is simply an insert statement with an...

  • RE: how to assign additional SQL Server administrators

    that's the point... there is no need to use the exact same screen to add administrators that you saw during the initial installation; that screen is just for convenience, and...

  • RE: Break a String apart

    AndrewSQLDBA (6/3/2013)


    Thank You Lowell

    That works perfect. I appreciate the other code to the right wide of the at symbol.

    Andrew SQLDBA

    glad i could help; if there were more than just two...

  • RE: Break a String apart

    If the Data ALWAYS contains the @ symbol, you could use some of the SubString functions:

    ;With MySampleData([val])

    AS

    (

    SELECT '1596424@DAR'

    )

    SELECT *,

    LEFT(val,CHARINDEX('@',val) -1) as OneWay,

    SUBSTRING(val,1,CHARINDEX('@',val) -1) As AnotherWay,

    SUBSTRING(val,CHARINDEX('@',val) +1,30) As RightSideWay

    FROM MySampleData

    WHERE...

  • RE: Calling Batch file using SQL Script

    Minnu (6/3/2013)


    Hi Team,

    Can u please tell me that the msg "UPDATE' is not recognized as an internal or external command,"

    is coming from the SQL exec call or from the batch...

  • RE: creating logon & logoff triggers in MSSQL

    Also Logon Triggers are per server, and not at the database level, so i can login, and then access multiple databases with multiple commands, and a Logon trigger would not...

  • RE: triggers

    well, I've got two suggestions:

    first, you should be using the INSERTED table so you only get the rows that were touched in this INSERT.

    The second, is just to review the...

  • RE: help with Arithmetic overflow error; Calculating Lunar Phases.

    Ed Wagner (6/3/2013)


    WOW! That's an intense nested CTE.

    It ran fine until the year 2808, so I figured you must be bumping up against a converted numeric somewhere that was...

Viewing 15 posts - 3,346 through 3,360 (of 13,469 total)