Forum Replies Created

Viewing 15 posts - 1,036 through 1,050 (of 1,409 total)

  • RE: Need help ANSI-92'ing a subquery join

    CleverSQLUserID (6/26/2013)


    - obviously produces a different query plan

    The query plan is not the indication that your new-style code is false or correct. Your resultset must be the same with...

  • RE: Trying to remove similar records

    The first condition was an easy one: list1 <> list2

    To get the other condition was a bit harder. In my solution I combined list1 and list2 together, with the...

  • RE: Database Mail not sending mail if number of recipients are more

    karthik.catchme (6/26/2013)


    It was working last month but stopped working this month.

    There is most likely something changed in the last month: or in your e-mail list of reciepients, or in the...

  • RE: Tcp/ip port named instance

    sweetmoulali (6/26/2013)


    TCP Port should be dynamic in cluster environment

    This is not correct. In a clustered environment a static IP address is also possible and probably preferrable. Setting up the firewall...

  • RE: Logshipping

    Is there another job or procedure active that takes additional FULL backups? These backups would brake the transaction log sequence.

    Query the [msdb]..[backup%] tables on the primary to get a list...

  • RE: problem in sql server

    Your post is very unclear. How is the 15 (you want to display) related to 1234567890 (the value in the column)?

    If you execute: "SELECT 15 as 'ID' "...

  • RE: Update linked server

    I think it is related to the datatype of the variable. If the columntype is INT the variable must be implicitly converted from the VARCHAR type.

    If the value is always...

  • RE: What to do with test Data from PROD?

    If possible, test everything on a specific test (i.e. production acceptance) environment. Copy the (obfuscated) production data to the test environment.

    If above is not possible, your current solution works fine....

  • RE: Is it possible to make Outer join with old style code

    Andrew G (6/26/2013)


    if you remove the WHERE clause, you're getting a cartisian product or cross join

    Of course! You're right... and I will get some coffee to wake up 😉

  • RE: Is it possible to make Outer join with old style code

    Above sample is equal to an INNER JOIN. To get the FULL OUTER JOIN you'll just need to remove the WHERE clause. To get a LEFT (or RIGHT) OUTER JOIN...

  • RE: Restoring failed

    m.rajesh.uk (6/25/2013)


    i cant see any service accounts i can see only domain user accounts there. do we need to add service acount in security tab

    The user account that is...

  • RE: How to get user position in table i.e 1st 2nd, 3rd

    It's unclear which 5 columns you currently select in your query. You could at least mention the columnnames in your post ;-).

    Based on your quenstion I guess you can expand...

  • RE: Restore a development DB form Prod.

    You've made a type in the restore command. You have missed the ":" after the drive.

    MOVE 'MyDBDW_log' TO 'E\MSSQL\Log\MyDBDW.ldf'

    must be:

    MOVE 'MyDBDW_log' TO 'E:\MSSQL\Log\MyDBDW.ldf'

  • RE: Installing Windows Server 2008 on Windows 7 Pro

    Your post is a bit difficult to read because you mix up Windows (server) 2008 and SQL Server 2008 at several moments in the text.

    If I understand your question correct...

  • RE: How to get user position in table i.e 1st 2nd, 3rd

    Move the "(u.Responsibility = 16 and u.Department = 7 and u.Location = 7)" part to a WHERE clause, just before the GROUP BY. You could also move it to a...

Viewing 15 posts - 1,036 through 1,050 (of 1,409 total)