Forum Replies Created

Viewing 15 posts - 31 through 45 (of 5,109 total)

  • Reply To: Experimenting with Go-SQLCMD

    Steve Jones - SSC Editor wrote:

    Interesting. I hope they replace the original with this, but with full backward compatibility. I hate that -P is removed, though not sure security is changed if you need...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • Reply To: Experimenting with Go-SQLCMD

    Honestly, I found one of early benefits of go-sqlcmd was that it has QUOTED_IDENTIFIER set to ON by default (unlike sqlcmd) and the -I switch (to enable Quoted Identifiers in...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • Reply To: Tracking of Accounts data and Stored procedures

    Well there we go... There are no rows in your table (at least the sample data you've given) where your clause Transaction_Date = '2023-01-01' is true.

     

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • Reply To: Tracking of Accounts data and Stored procedures

    yrstruly wrote:

    If your intention is not to help me, keep your negative comments and let those who want to help me, assist.

    Dont, understand why the "trolls" on here want to...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • Reply To: Just joined but can't change sa or my new sql login

    So are you saying that you connect to the instance using a SQL login with Password, alter the Login to change the password, disconnect, then reconnect and it only accepts...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • Reply To: Tracking of Accounts data and Stored procedures

    I'm not going anywhere near a stranger's Google Drive; I've no idea what sort of payload could be in there. Plus the domain is blocked at the office so strictly...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • Reply To: Tracking of Accounts data and Stored procedures

    yrstruly wrote:

    I ran the stored procedure and still nothing in the table "PrimaryAccountGroupTracking"

    Still no data in this table.

    That would suggest that there is no data in your table [dbo].[Transactions]...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • Reply To: Finding LAST_VALUE With RunningTotals

    luissantos wrote:

    Hello again,

    I changed my query like this but the result of RunnigTotal are wrog

    It seems like you don't want a running total here, just a windowed SUM. Remove the...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • Reply To: Finding LAST_VALUE With RunningTotals

    The value for running total looks correct to me. You're only returning the value of the first row, which means that the value of "Running Total" is actually the SUM...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • Reply To: Code Correction

    I never had any exposure to SQL Server 2000, but my Google-Fu tells me you'll need to use DBCC SHOWCONTIG (see SQL SERVER – Comparison Index Fragmentation, Index...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • Reply To: Code Correction

    Ooof on the Compatibility 80 level. SQL Server 2008 ran out of support back in 2019, so you really want to get that instance upgraded, but if you're still running...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • Reply To: I am having a issue with a SSIS Package

    James Reed wrote:

    Yes i had to do it that way then vendor wants the dates in a specific format and that was the only way I knew how to achive that......

    • This reply was modified 3 years, 2 months ago by Thom A.

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • Reply To: I am having a issue with a SSIS Package

    [TermDate] = CASE WHEN FORMAT(Termdate, 'MM/dd/yyyy hh:mm:ss') > FORMAT(HireDate, 'MM/dd/yyyy hh:mm:ss')
    ...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • Reply To: How to get top 100 values of a col concatenated in a variable in sqlserver?

    rajemessage 14195 wrote:

    i have sql server 2012 then how to write this in old syntex

    You've posted in the SQL Server 2022 forum, so we've been running under the (incorrect) knowledge that...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • Reply To: The place of SMALLDATETIME

    CreateIndexNonclustered wrote:

    There are localization differences for the default code page when doing certain type conversions. I was wondered if collation is where that came from when a string is implicitly...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

Viewing 15 posts - 31 through 45 (of 5,109 total)