Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. mongol648

    Count and Case statement help

    Awesome! thank you!
  2. mongol648

    Count and Case statement help

    I have the following query I am trying to run: select datefilled, case len(timefilled) when 7 then SUBSTRING(CAST(timefilled as varchar),1,1) else SUBSTRING(CAST(timefilled as varchar),1,2) end A from ScriptHistory where datefilled > getdate()-7 group by timefilled,datefilled I...

Part and Inventory Search

Back
Top