Migration to SQL Server: Help Please!

A

Arch

I am trying to convert this query into T-SQL in SQL
Server. I could not figure out the correct syntax for
parameters in SQL Swever.
The following is SQL from Access 2000. Please help me
convert this to SQL Server so the parameters would work.
DistManager is a table and ProjectsAwarded is a query
which is already in SQL Server.

SELECT -------
FROM -------
WHERE ((tblDistManager.DistManagerID)=[Please Enter The
District #]) AND (([qryProjectsAwarded].ProjectID) Is
Null) AND (([qryProjectsAwarded].AwardDate) Is Null) AND
(([qryProjectsAwarded].AwardApprvl) Is Null)

Thank You very much in advance.
Arch
 
D

Duane Hookom

SQL Server doesn't support parameter prompts like Access queries. You can
create a stored procedure which allows parameters. Check Books On Line.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top