Forum Replies Created

Viewing 15 posts - 5,296 through 5,310 (of 6,400 total)

  • RE: Syntax help required

    could you please follow the second link in my signature block on how to post code so that we can help you out.

    if you can provide create table statements, refactor...

  • RE: SQL Server question

    could always set the source DB to read_only instead of single_user then set it back to read_write once done

  • RE: BETWEEN ages

    take it you mean this statement

    if @minage > @maxage set @minage = @maxage, @maxage = @minage --sets minage to 10, sets maxage to 1000

    the query is evalutated at run time...

  • RE: Today's Random Word!

    BeautyOfFinishingAt16:00

  • RE: Deadlock help

    I'm unsure, its a 3rd party app and uses entity framework with all inline SQL so no procedures for me to look at.

    I will pass this to the development team...

  • RE: Deadlock help

    Sorry Gail, the indexid for both pages is 1, which is PK__PSX_PUBLICATION___300424B4

  • RE: Question on Pitvoting data in SQL

    looks like a case for a cross-tab, see the links in my signature on how to get started

  • RE: Limited permissions but able to delete data

    its 6 of one and half a dozen of the other with that as with windows auth, the auth is done via tokens with the domain controllers which reduces the...

  • RE: Identifying Blocking via Profiler

    what is your threshold for blocking processes?

    ours is 30 seconds, so we have a job which runs the t-sql below, into a #temp, waits 30 seconds, runs it again into...

  • RE: Today's Random Word!

    1HourLeftTill4DayWeekend

  • RE: Help on sys.database_files

    the issue is with FILEPROPERTY, its specific to the database context its running in

    From BOL

    file_name

    Is an expression that contains the name of the file associated with the current...

  • RE: SQL CLR

    could take a look at the attachment, this is what I have used in the past to populate a postcode table and then do a lookup to it for the...

  • RE: Deadlock help

    Figured it out, enable trace flag 3604 then use dbcc page.

    boths pages have MetaData: ObjectId = 789577851 which relates to PSX_PUBLICATION_SITE_ITEM in sys.objects

  • RE: Deadlock help

    Hi Gail

    There are only 2 indexes, the Primary key and the extra index provided above in the create table and index definition snippets.

    I have attached the two plans for each...

  • RE: Deadlock help

    yep, sorry, been one of them days, had my head in MDX all day.

    I just thought to myself, why dont you see if the sql handle and plan handle are...

Viewing 15 posts - 5,296 through 5,310 (of 6,400 total)