Sep 21, 2006 #1 goterps1 Technical User Joined Sep 21, 2006 Messages 13 Location US I'm recieving a missing operator error on the select statment when attempting to run the following sql. Can you help? SELECT COUNT(DISTINCT [Fund 49].SSN) AS Expr1 INTO [Matching 49] FROM [Fund 49], [Fund 83] WHERE ((([Fund 49].SSN)=[Fund 83].SSN));
I'm recieving a missing operator error on the select statment when attempting to run the following sql. Can you help? SELECT COUNT(DISTINCT [Fund 49].SSN) AS Expr1 INTO [Matching 49] FROM [Fund 49], [Fund 83] WHERE ((([Fund 49].SSN)=[Fund 83].SSN));
Sep 21, 2006 #2 gmmastros Programmer Joined Feb 15, 2005 Messages 14,912 Location US Is this for an Access database. This forum is specifically for Microsoft SQL Server. -George Strong and bitter words indicate a weak cause. - Fortune cookie wisdom Upvote 0 Downvote
Is this for an Access database. This forum is specifically for Microsoft SQL Server. -George Strong and bitter words indicate a weak cause. - Fortune cookie wisdom
Sep 21, 2006 #3 kss444 Programmer Joined Sep 19, 2006 Messages 306 Location US Try this: SELECT COUNT(DISTINCT ([Fund 49].SSN)) AS Expr1 INTO [Matching 49] FROM [Fund 49], [Fund 83] WHERE [Fund 49].SSN)=[Fund 83].SSN Upvote 0 Downvote
Try this: SELECT COUNT(DISTINCT ([Fund 49].SSN)) AS Expr1 INTO [Matching 49] FROM [Fund 49], [Fund 83] WHERE [Fund 49].SSN)=[Fund 83].SSN