Forum Replies Created

Viewing 15 posts - 286 through 300 (of 3,544 total)

  • RE: Using Hex values

    jasona.work - Friday, February 16, 2018 8:14 AM

    So it looks like it's a formatting thing, not any sort of manipulation of the...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Using Hex values

    Jeff Moden - Friday, February 16, 2018 4:39 AM

    IQ1 - Thursday, February 15, 2018 10:47 AM

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Split 60 character string every third character with pipes

    Just for fun, like a Christmas turkey, lots of STUFFing :hehe:


    SELECT
    REPLACE(
    STUFF(STUFF(STUFF(STUFF(STUFF(STUFF(STUFF(STUFF(STUFF(STUFF(STUFF(STUFF(STUFF(STUFF(STUFF(STUFF(STUFF(STUFF(
    STUFF(Column1,58,0,'|')
    ,55,0,'|')
    ,52,0,'|')
    ,49,0,'|')
    ,46,0,'|')
    ,43,0,'|')
    ,40,0,'|')
    ,37,0,'|')
    ,34,0,'|')
    ,31,0,'|')

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Searching a windows explorer folder set of .sql files for a keyword using t-sql

    Jeff Moden - Thursday, January 25, 2018 2:02 PM

    Weegee2017 - Thursday, January 25, 2018 10:56 AM

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Debit Close and Aging


    WITH cte (Ig,DATE_,TOTAL,RunningTotal,Debit) AS (
    SELECT Ig,DATE_,TOTAL,
      SUM(TOTAL) OVER (PARTITION BY Ig ORDER BY SIGN(TOTAL) DESC,DATE_),
      SUM(CASE WHEN TOTAL < 0 THEN -TOTAL ELSE 0...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Debit Close and Aging


    WITH cte (Ig,DATE_,TOTAL,RunningTotal,Debit) AS (
    SELECT Ig,DATE_,TOTAL,
      SUM(TOTAL) OVER (PARTITION BY Ig ORDER BY DATE_),
      SUM(CASE WHEN TOTAL < 0 THEN -TOTAL ELSE 0 END) OVER (PARTITION BY...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Debit Close and Aging

    How many negative values will there be per Ig

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Debit Close and Aging


    WITH cte (Ig,DATE_,TOTAL,RowNum) AS (
    SELECT Ig,DATE_,TOTAL,
      CASE WHEN TOTAL < 0 THEN 1
       ELSE ROW_NUMBER() OVER (PARTITION BY Ig ORDER BY DATE_ ASC)
       END
    FROM #TempStk
    )

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Read TXT File - problem with importing from flat file source ssis

    Use a Data Flow Task with OPENROWSET in an OLE DB Source and output to a Recordset Destination

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Why dbid is 1 for master, 2 for tempdb, 3 for model and 4 for msdb?

    Jason A. Long - Monday, November 20, 2017 10:03 PM

    Jeff Moden - Monday, November 20, 2017 8:34...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Trigger table read?

    I'd be interested in Auditing read/access/usage of a table 🙂

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Are the posted questions getting worse?

    Thom A - Monday, November 13, 2017 5:50 AM

    Jeff Moden - Monday, November 13, 2017 5:42 AM

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Modifying my parameterized query to select * an entire column

    Untested but something like this


    SQL.CommandText = "INSERT INTO [MyDatabase].[dbo].[MyTable] ([my_id]) VALUES (@my_id)"
    SQL.ActiveConnection = Cn
    SQL.Parameters.Append SQL.CreateParameter("@my_id", adVarChar, adParamInput, 50, Value)
    RowNum = 1
    While Sheets("Sheet1"),Cells(RowNum,5).Value...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Modifying my parameterized query to select * an entire column

    Do you mean the values in the column for all rows in the spreadsheet?

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Planning for a server

    Jeff Moden - Wednesday, November 8, 2017 7:04 PM

    Grant Fritchey - Wednesday, November 8, 2017 3:29 PM

    Far away is close at hand in the images of elsewhere.
    Anon.

Viewing 15 posts - 286 through 300 (of 3,544 total)