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 Mike Lewis 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: *

  • Users: GRP68
  • Order by date
  1. GRP68

    count of values received on a weekly basis

    RecvdDate is the column name for Date in the table HEAT.CallLog GRP
  2. GRP68

    count of values received on a weekly basis

    Here is what i got Msg 245, Level 16, State 1, Line 4 Conversion failed when converting the varchar value '2001-11-22' to data type int. GRP
  3. GRP68

    count of values received on a weekly basis

    Hi Borislav, (Priority is the column name for code) Here is what i have. DECLARE @dBegin datetime, @dEnd datetime SET @dBegin = '20120101' SET @dEnd = '20120831' SET DATEFIRST 1 SELECT r.StartWeek, tst.Priority, tst.CodeOccurancesWithinWeek FROM (select DISTINCT...
  4. GRP68

    count of values received on a weekly basis

    Hi Bborisov, I tried your solution and got: Msg 245, Level 16, State 1, Line 7Conversion failed when converting the varchar value '2001-11-22' to data type int. The date itself is taken right from the my table. I only took a sample of the table to show the type of data. GRP
  5. GRP68

    count of values received on a weekly basis

    I guess i must not have been clear enough. Ihave manged to come up witha solution Except it includes any of the dates for the previous sunday with the following weeks data.(I have set it to get the data for a complete year from the present time. I also changed the column name to RecvdDate...
  6. GRP68

    count of values received on a weekly basis

    I am trying to create a query which will take data from a table that has a date field, code field, reference Number field. Sample table: reference Code Date 00856147 1 2012-01-03 00856165 1 2012-01-03 00856240 1 2012-01-03 00856338 1 2012-01-03 00856666 2 2012-01-04 00857499 2 2012-01-09...

Part and Inventory Search

Back
Top