Forum Replies Created

Viewing 15 posts - 841 through 855 (of 2,905 total)

  • Reply To: Using an OR in a CASE statement

    I think the problem is that a CASE statement cannot return 2 values like that.

    The idea of a CASE statement in SQL is that if the lookup value is X...

  • Reply To: Do We Care About Disks?

    For me, I don't manage the hardware side of things, so I care less about the hardware and actually have very little say in what hardware I get.  It is...

  • Reply To: Working with Microsoft Excel Spreadsheets

    You say you are using an application - is there a reason you are not just pulling the Excel data in through that rather than using SQL Server as a...

  • Reply To: when insert rows it take too much time for 0 rows inserted so why and How to sol

    To me it looks like your statistics are out of date.  Your estimates are WAY off from the actuals which usually indicates bad statistics.

    I would start there.

    Another thing - I...

  • Reply To: Query to fetch top SQL statements

    I agree with both Phil and Michael.  Phil's comment about query store sounds like it is similar to Oracle's AWR.  Or so is my my understanding of query store.

    And Michael...

  • Reply To: Query to fetch top SQL statements

    My opinion - I wouldn't reinvent the wheel.  There are a LOT of good monitoring tools out there and I would just use one of those.

    The good SQL monitoring tools...

  • Reply To: sftp script

    Script debugging is always interesting.  The "best" (ie only) way I know how to do it is to find good breakpoints and run your code up until that breakpoint.  Next,...

  • Reply To: SSRS Migration

    I think I can answer both questions, but I would still recommend doing it in a test environment first.

    So question 1 - my understanding is that SSRS hasn't had any...

  • Reply To: SQL Instance Aliases - Urgent assistance needed please

    Jeff - your approach is what our devs (myself included) are migrating to (I think).  Basically, the connection string gets stored in a settings file that is read on app...

  • Reply To: sftp script

    As a guess - I would say that WinSCP probably has a list of valid fingerprints stored somewhere and when you connect, it checks the fingerprint against the known good...

  • Reply To: sftp script

    That makes sense as the fingerprint is the fingerprint of the remote server.

    I would recommend looking at some of the example scripts on the WinSCP site.  This one specifically should...

  • Reply To: sftp script

    I would check to make sure the input is valid.  Double check the values you are passing into the properties of WinSCP.  For example, check the value of "$config.Configuration.HostName".  is...

  • Reply To: What ate all my DB resources?

    On top of what ratbak indicated - when you say "Azure SQL", do you mean it is an Azure SQL Instance, an Azure SQL Managed Instance , or an Azure...

  • Reply To: Automation testing tools

    I expect you would get more help in a C# forum than a SQL Server forum, but I would reach out to your development team and work with them to...

  • Reply To: SQL Instance Aliases - Urgent assistance needed please

    Brandie - are you using SQL Aliases OR DNS Aliases?  If it is DNS aliases, you will likely need to include the instance name (for a named instance) when you...

Viewing 15 posts - 841 through 855 (of 2,905 total)