Ask a Question related to Dreamweaver AppDev, Design and Development.
-
Brandon Taylor #1
Access query help
Hi everyone,
I need to modify this query from SQL Server for use in Access. Can someone
please help me?!
SELECT DISTINCT TOP 100 PERCENT YEAR(CEDate) AS CEYear
FROM dbo.CurrentEvents
WHERE (CEDate < DATEADD(D, - 29, GETDATE()))
ORDER BY CEYear DESC
This select statement retrieves all dates older than 29 days from today, but
I'm having some trouble getting this to work in Access.
Many thanks in advance for your time,
Brandon
Brandon Taylor Guest
-
MS Access Query Help Needed
I am trying to run the following query on an Access Database. It returns the data however the it is still selecting based on the times that are... -
Access Query
Hi I have written sql query in access database... SELECT email_info.* FROM email_info WHERE email_id='john@test.com.au' AND email_date + 7 < ... -
MS Access query in MX 7
Hi, Please help me. Oour company's websit was located in HostMySite. In the recently, they upgrade their server to Windows 2003 and upgrade... -
Access Query in ASP
I would like to use Accesss queries in ASP. This queries are done before in Access. I Know that i can access these queries using Visual Basic as... -
MS access SQL query help!
I am creating a database for sports league. I have a table of Leagues, Teams, and Games. I trying to get a listing of the games but I am getting... -
Brandon Taylor #2
Re: Access query help
Got it. Here's the SQL:
SELECT DISTINCT TOP 100 PERCENT DatePart("YYYY",EndDate) AS ArchiveYears
FROM Events
WHERE EndDate < DateAdd("D",-29,Date())
"Brandon Taylor" <bt@btaylordesign.com> wrote in message
news:d0vnns$518$1@forums.macromedia.com...> Hi everyone,
>
> I need to modify this query from SQL Server for use in Access. Can someone
> please help me?!
>
> SELECT DISTINCT TOP 100 PERCENT YEAR(CEDate) AS CEYear
> FROM dbo.CurrentEvents
> WHERE (CEDate < DATEADD(D, - 29, GETDATE()))
> ORDER BY CEYear DESC
>
> This select statement retrieves all dates older than 29 days from today,
> but I'm having some trouble getting this to work in Access.
>
> Many thanks in advance for your time,
> Brandon
>
Brandon Taylor Guest



Reply With Quote

