Forum Replies Created

Viewing 15 posts - 331 through 345 (of 1,131 total)

  • RE: Temp Tables usage and deadlocks in SQL Server 2000

    Locking the system tables appears to be an in-appropriate solution but there are some additional activities.

    For SQL Server 2000, please see "Concurrency enhancements for the tempdb database" at http://support.microsoft.com/kb/328551....

  • RE: favorites

    Many of the portals (yahoo and google for sure), allow you to save bookmarks on their site if you have an account. These saved bookmarks are accessable from any...

  • RE: Uncommon Table Expressions

    Forgive if I am new to this but does that mean that inbuilt functions don't add to reported CPU ?

    CPU and IO for a UDF are NOT reported by setting...

  • RE: Question about string formatting

    Read about the FORMATMESSAGE function in BOL.

    Constructs a message from an existing message in sys.messages. The functionality of FORMATMESSAGE resembles that of the RAISERROR statement. However, RAISERROR prints...

  • RE: COLUMNS_UPDATED() IN TRIGGER

    I do not think that you need any triggers as a computed column is a viable alternative solution.

    create table dbo.MyTable

    (id int not null

    ,col8 varchar(8) not null

    ,col9 varchar(8) not null

    ,col10...

  • RE: COLUMNS_UPDATED() IN TRIGGER

    Regarding "mycol"

    What is the datatype ?

    What are all the possible values ?

  • RE: Delete Partition

    Other RDBMS developed the technology before and made it so simple my little sister can do either a "truncate partition table_name:partition_name" or "drop partition table_name:partition_name" in less time that it...

  • RE: Who started the job?

    The job history will have a login name that started the job within the message column

    SELECT *

    FROM [msdb].[dbo].[sysjobhistory]

    where message like '%The Job was invoked by User%'

  • RE: Issue with AND clause

    Please read "Forum Etiquette: How to post data/code on a forum to get the best help" at http://www.sqlservercentral.com/articles/Best+Practices/61537/

    With the requested data/code, it might be possible to answer your questions. ...

  • RE: How to Group report output by results age group using Business Intelligent Project

    Three questions need to be answered before an exact solution can be determined:

    1. What datetime column is being used to determine the age? The example uses SellStartDate.

    2. ...

  • RE: Log of hotfixes applied

    SQL Server hot fixes are accumulative, so if the running version is 8.00.2148 , then you know that hot fixes 2147 , 2145 , 2050 and 2040 have been applied.

    There...

  • RE: LEFT JOIN vs EXCEPT

    Regarding using LEFT OUTER JOIN instead of EXCEPT or NOT EXISTS, how do you write such a SQL Statement ? Please use the AdventureWorks demo database to answer the...

  • RE: LEFT JOIN vs EXCEPT

    It is interesting that the result of EXCEPT may be different than a NOT EXISTS.

    EXCEPT considers NULLS to equal but NOT EXISTS considers NULLS to be unequal. Here is...

  • RE: Insert data into column from a stored procedure

    Ran the provides SQL and the error message is:

    Server: Msg 8164, Level 16, State 1, Procedure sp_get_composite_job_info, Line 67

    An INSERT EXEC statement cannot be nested.

    So if you have an "insert...

  • RE: User should see the previous post while replying

    Thanks steveb

    The forum application also remembers that you have set to view that last 10 posts, so it only needs to be set once!

Viewing 15 posts - 331 through 345 (of 1,131 total)