All Tags » query (RSS)

Browse by Tags

  • How to use Filter out decimal using a query in access

    I have a column in MS access that contains whole numbers and decimals. How do I filter out the rows that cotain decimals and just keep the entries with just whole numbers. RawData 1 2.5 5 6.5 1.3 7 I want the query output to show: 1 5 7
    Posted to Visual Interdev (Forum) by microsoft on 06-17-2010
  • Sum a count a of multple columns

    How do I sum the count of the following queries? Code Snippet: 1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: Select count(*) from Race_Results where `2` = "55 R" Select count(*) from Race_Results where `3` = "55 R" Select count(*) from Race_Results where `4` = "55 R"...
    Posted to Visual Interdev (Forum) by microsoft on 06-16-2010
  • Sub Query in Select Statement

    In my illustration you'll see I have a table and the expect query results. In order to accomplish this in not one query, as opposed to writing two or three queries to get the expect result, I expect I probably need to utilize the MIN and MAX functions and write a sub query in the select statement...
    Posted to Visual Interdev (Forum) by microsoft on 06-11-2010
  • T-sql 2005 Procedure

    How do i create a parameter in SQL that takes an unknown amount of values to use in a procedure. Then how would set up a loop thru go thru each value in the array?? ie.. A Procedure would have a parameter that would take a value like this one 543,345,345,6789, There are 4 values here but it could be...
    Posted to Visual Interdev (Forum) by microsoft on 06-11-2010
  • query

    I have a field which says 15 - 20 days, 15 days. 20 days 1 How to write a query which filter 15-20 days which includes 15 days. 2. How to write a query which filter 20 days and 20 days plus. Appreciate it!
    Posted to Visual Interdev (Forum) by microsoft on 06-01-2010
  • SCCM Collection query advertisement status

    Hi, I am using the following query for my Collections in SCCM to get the clients with an advertisement that was succesfull. select SYS.ResourceID,SYS.ResourceType,SYS.Name,SYS.SMSUniqueIdentifier,SYS.ResourceDomainORWorkgroup,SYS.Client from sms_r_system as sys inner join SMS_ClientAdvertisementStatus...
    Posted to Systems Management Server (Forum) by microsoft on 05-27-2010
  • SQL Server 2005 - Query with list criteria

    Hello Experts, Not sure how to explain this, but I'm working on a query in SQL server 2005 that I would like to add in a list of items to look for. This query will be use as a stored procedure with reporting services. Example: Declare @ID as Nvarchar(20) Set @ID = ('1234', '3221'...
    Posted to Queries (SQL) (Forum) by microsoft on 05-26-2010
  • How to query maindatasource programmatically

    I have a simple Infopath (2007) form that queries my maindatasource (SQL Server 2005) to retrieve values based on a date that I specify in a query field to provide data to several datafields. I have one datafield that needs to get a value from the database of the previous day specified in the query field...
    Posted to Infopath (Forum) by microsoft on 05-25-2010
  • Populate a Form's Combo Box via Query

    My database for a dairy is structured such that a harvest is an event for the whole farm and in each harvest event are multiple fields/plots/crops being harvested. For the frmHarvestDates I identified which field/plot/crop is harvested with a query to bring all of those pieces of info together and then...
    Posted to Access (Forum) by microsoft on 05-24-2010
  • SQL Query from View

    I'm trying to query a view for data within a certain date range and the query takes an extremely long time to run, if I leave out the date range part of the query it returns quickly: SELECT * FROM vw_marketing_analytics_goals WHERE marketing_ad_id <> 0 AND (time_stamp >= '8/1/2007'...
    Posted to Queries (SQL) (Forum) by microsoft on 05-22-2010
Page 1 of 104 (1034 items) 1 2 3 4 5 Next > ... Last ยป