Sep 21, 2006 #1 goterps1 Technical User Sep 21, 2006 13 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 Feb 15, 2005 14,910 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 Sep 19, 2006 306 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