Forum Replies Created

Viewing 15 posts - 16 through 30 (of 287 total)

  • Reply To: system_versioning = on/off permissions

    All,

    Apologies for my slow reply. Thank you for your help.

     

  • Reply To: AG has disappeared in SSMS

    Does the WSFC tell you why it fails to bring the AG resource online? I haven't done clustering for a while but I seem to remember there is a log/event...

  • Reply To: system_versioning = on/off permissions

    Thanks for your replies.

    In this case there are valid reasons for turning it off. We don't need an unchangeable audit.

    I am also looking at using other methods for creating a...

  • Reply To: system_versioning = on/off permissions

    ScottPletcher wrote:

    If the proc as an appropriate "EXEC AS" clause, I would think it would work.

    Thank you for the suggestion. Sorry I forgot to mention this possibility in my original...

    • This reply was modified 1 year, 1 month ago by  as_1234. Reason: Trying to fix quote tags
  • Reply To: SQL Server Database Redunduncy

    I can't answer this directly because I haven't used SQL Server 2022 however a question which might help other people answer:

    You've said that both databases are getting the same data....

  • Reply To: AG has disappeared in SSMS

    I haven't worked with WSFC/AG for a while and I don't have access to a test system but, if I remember correctly, the WSFC cluster provides a reason why it's...

  • Reply To: Query optimisation/execution plan

    All,

    Thank you for all your advice it is very useful. I have attached the execution plans as txt files

     

    • This reply was modified 3 years ago by  as_1234. Reason: The site didn't allow me to attach .txt files. So I will try .sqlplan
  • Reply To: listener

    In addition to the advice above. One thing that might be worth checking, if you haven't done already, is pinging the DNS name and see whether it returns the IP...

  • Reply To: Data Warnings / Ignore Checked Results

    Apologises I was thinking that the rows you need to check might all be new or have been updated. As you said it won't pick up existing, unchanged, rows.

  • Reply To: Data Warnings / Ignore Checked Results

    Taking a significantly different angle on this and apologises if it's too far outside of the scope of your question but could you use Change Data Capture to identify changed...

  • Reply To: Problem with creating query for allocating amount

    Sorry for my mistake. I am having another look at your question and I noticed something:

    You said that you need to keep the items marked yellow in your attachment. On...

  • Reply To: Problem with creating query for allocating amount

    I think the following might give you the data rows you need?:

    declare @sampledata1 table

    (

    [Date] date ,TC1 varchar(100),Amount_New decimal(10,2)

    )
    INSERT INTO @sampledata1

    ([Date]

    ,[TC1]

    ,[Amount_New])

    VALUES ('2020-11-01','Houses:N-Home',70),

    ('2020-11-01','Houses:N-KL',80),

    ('2020-11-01','Default Category: Default Option',90),

    ('2020-11-01','Houses:NS-Home',22.5),

    ('2020-11-01','Houses:N-KL',45),

    ('2020-11-01','Houses:N-GR',22.5),

    ('2020-12-01','Houses:N-Home',100),

    ('2020-12-01','Default Category: Default Option',250),

    ('2020-12-01','Houses:N-Kl',110),

    ('2020-12-01','Houses:N-Home',24),

    ('2020-12-01','Houses:N-KL',12),

    ('2020-12-01','Houses:N-GR',60),

    ('2020-10-01','Houses:N-BR',24),

    ('2020-10-01','Houses:N-KL',12),

    ('2020-10-01','Houses:N-GR',60),

    ('2020-10-01','Houses:N-BR',24),

    ('2020-10-01','Default...
  • Reply To: Pivot Table SQL

    People tend to be wary of opening attachments, especially from new users. Can you put the expected result into a post?

    It might also help if you can provide test data...

  • Reply To: Flat File Connection Manager issue

    @AlphaTangoWhisley - No problem

    All:

    The 'failed to lock' runtime error on the file operation was my error. I had the expression for the filenames specified in the source and destination properties...

  • Reply To: Flat File Connection Manager issue

    All,

    Thanks for your help. I think I solved the issue by repairing Visual Studio. I thought it was my error rather than an issue with the software but perhaps not.

    Since...

    • This reply was modified 3 years, 2 months ago by  as_1234. Reason: Editted to include more of the error message

Viewing 15 posts - 16 through 30 (of 287 total)