Microsoft
Software
Hardware
Network
Question : I need assistance with a SQL Query
I need help with the following query, I get an error every time I try running it. Please let me know what i'm doing wrong. Here is the query:
SELECT MONTH(MainSrc.RegisteredDa
te), AC2.AC_ChargeGroup AS ChargeGroupB, COUNT(AC2.AC_ChargeGroup)
FROM Source AS MainSrc
INNER JOIN JOB AS JH2 WITH (NOLOCK) ON MainSrc.ShipmentID = JS2.JH_JobNum
INNER JOIN Charge AS JC2 WITH (NOLOCK) ON JS2.JH_PK = JC2.JR_JH
INNER JOIN ChargeCode AS AC2 WITH (NOLOCK) ON JC2.JR_AC = AC2.AC_PK
WHERE
(MainSrc.RegisteredDate >= '4/1/2010')
AND (MainSrc.RegisteredDate < '4/5/2010')
AND (MainSrc.Client = 'FORD')
GROUP BY MainSrc.RegisteredDate, ChargeGroupB
ORDER BY MainSrc.RegisteredDate
I GET THE FOLLOWING ERROR:
Msg 207, Level 16, State 1, Line 11
Invalid column name ''ChargeGroupB''.
Thanks in advance,
mrotor
Answer : I need assistance with a SQL Query
Your contractor will be creating an OUTGOING request on port 1935 to their server I am guessing. I think this test is testing a request for an incoming stream. Try reversing the rules for the test.
Random Solutions
Receiving logged-on error in Dynamics CRM 4.0 On-premise
Why JCE Editor is not showed in Article Front End?
Looking to learn about the Entity Framework
Ubuntu, How do I mount a second drive to my home directory?
Will Pandora on iPhone empty my wallet?
Subtitles and downloaded movie files
Question regarding multiple delegates
Configure Server 2003 DC to Synchronize with Internet Time
Maxtor DiamondMax Plus 8 as External Drive
Load flash element first in page?