Forum Replies Created

Viewing 15 posts - 946 through 960 (of 3,482 total)

  • Reply To: Bulk Update From List

    Something like (make a backup of the table or wrap the update in a transaction so you can roll it back...)

    UPDATE EmployeeTable

    SET EMailAddress = otherTable.EMail

    WHERE EmployeeTable.FieldX = OtherTable.FieldY

    Basically, you do...

  • Reply To: SSRS Monthly Data Comparisons

    If you have only one value per month, then you can use LAG([Inventory],1) OVER (ORDER BY DateArchived) AS PrevValue

    and then compare. Maybe easier to do it in T-SQL.

  • Reply To: Pull data from a set of dates based on multiple criteria

    Use a Calendar table maybe?

  • Reply To: Using table for search and replace values

    Maybe this will help?

    You could use multiple REPLACE functions

    use tempdb;
    go
    CREATE TABLE TheReplacements(
            Search_Value VARCHAR(15) PRIMARY KEY
            , Replace_Value VARCHAR(15) NOT NULL
    );
    GO
    INSERT INTO TheReplacements (Search_Value, Replace_Value)
    VALUES ('Timothy','Tim'),('Kathleen','Kathy'),('Joseph','Joe'),('Michael','Mike');
    CREATE TABLE People (
     PersonID...
  • Reply To: ssrs 2012 date formatting

    Oh! I knew it had to be easier than I was making it!

  • Reply To: ssrs 2012 date formatting

    For grins, I wrote this in VB.NET (well, sort of)

    Public Function FormattedDate (ByVal dtInputDate As Date, ByVal blnShort As Boolean) As String
        Dim m As Byte
        Dim...
  • Reply To: ssrs 2012 date formatting

    From what I've read, Language is a report-wide setting. So the only way I could think of doing it is to use either SWITCH or a lookup.

    I sort of got...

  • Viewing 15 posts - 946 through 960 (of 3,482 total)