Forum Replies Created

Viewing 15 posts - 76 through 90 (of 470 total)

  • Reply To: Storing VARCHAR(MAX) off-row

    I think I've just had a brainwave.

     

    We currently store all the document data vertically in Table1.  It contains (amongst other things):-

    Document name

    Field name

    Field value

     

    Now, what we then do is split...

  • Reply To: Storing VARCHAR(MAX) off-row

    Hi Jeff

     

    We have to pull in everything from the documents as we don't know what is needed for reporting purposes (orders from the higher-ups).

    This is the only document that is...

  • Reply To: Storing VARCHAR(MAX) off-row

    That's what I was trying to avoid but it might be necessary in this case.

    Should keep things interesting with the code if nothing else as we build the tables automagically.

  • Reply To: Storing VARCHAR(MAX) off-row

    And the plot thickens......

     

    I've just verified that the large_value_types_out_of_row is 1 on the table in question.

    I'm still getting an error that reads:-

    "Cannot create a row of size 8093 which is...

  • Reply To: Storing VARCHAR(MAX) off-row

    Aaaaarrrrrggggghhhhh!!!!!!

     

    Thanks Jeff.

     

    I've just checked and it's been switched off.  This is potentially because we had a bug in our code which meant that the table was being dropped and recreated...

  • Reply To: Storing VARCHAR(MAX) off-row

    Jeff Moden wrote:

    John Mitchell-245523 wrote:

    Changing the option only applies for new rows.  The rows that were in the table before you changed the option will stay where they were.  Could that be...

  • Reply To: Storing VARCHAR(MAX) off-row

    I actually did a drop/create on the table and then tried a reload but still ran into the same issue.

  • Reply To: Storing VARCHAR(MAX) off-row

    These fields are part of the primary key:-

    [pkDocumentID] varchar(30)

    [pkEditedByStaffID] varchar(25)

    [pkEditedDateTime] datetime

     

    This is the only index on this table.

     

    Like I said in my OP, I did find a method of forcing...

  • Reply To: Query optimisation

    I've tried recoding the query with *some* success (it's now down to 42 minutes on a single run from an hour).

     

    Can someone have anther look and check I've got the...

    Attachments:
    You must be logged in to view attached files.
  • Reply To: Query optimisation

    Thanks both

     

    It looks like it's the ROW_NUMBER() section that's taking the time to work out.

    Is there any sort of alternative to that bit?

    I need to get the records in order...

  • Reply To: Tabluar cube oddity

    Thanks for that.

    I'll dig through our FACT table data and see what I can find.

  • Reply To: Processing Multidimensional cubes

    I'm back again.

     

    I've changed to running the XMLA in a "Analysis Services Execute DDL Task" in SSIS (I grabbed the generated XMLA from SSMS and pasted that in.

     

    I've now got...

    • This reply was modified 4 years, 10 months ago by  richardmgreen1. Reason: Extra info
  • Reply To: Processing Multidimensional cubes

    Thanks for that, I'll have a look and see if it offers any improvements.

  • Reply To: Processing Multidimensional cubes

    That was the first of two cubes that have been failing but I'm fairly certain the root cause will be the same for both (so the same fix should apply).

     

    Just...

  • Reply To: Processing Multidimensional cubes

    Looks like I'm going blind and/or stupid again.

     

    In desperation, I ticked all of the DIMs to be processed (full) and let it run through.

    That gave me an error on a...

Viewing 15 posts - 76 through 90 (of 470 total)