Database Error

SQL Error - #0
Message: Syntax error near '(end of line)' on line 1
Native: -131
Source: SQL Anywhere .NET Data Provider
SQL State: 42000
SQL: select PackageName, PackageSubTitle, PackageDesc, PackageImage1, PackageImage2, AirFlag, NewFlag, MapImage, LogoImage, SoldOutFlag, NumberOfHotels, BasePrice, NumDays, NumMeals, MONTHNAME(StartDate), DAY(StartDate) , YEAR(StartDate), AdditionalInfo, SchPkgInfo, InclusiveFlag, EscortedPkgFlag, PkgTypeID, OrgURL, OrgMapping, SchPkgInfo2, OneDayPkgFlag, GuaranteedDepFlag, HostedPkgFlag from dev.Package p key join dev.ScheduledPackage sp key join dev.Organization where p.OrgID = 95 and p.PackageID = 849 and SchPackageID =

Stack Trace: at iAnywhere.Data.SQLAnywhere.SACommand._ExecuteReader(CommandBehavior commandBehavior, Boolean isExecuteScalar, Boolean isBeginExecuteReader) at iAnywhere.Data.SQLAnywhere.SACommand.ExecuteReader() at Setness.bigcal_shortpkg_day.Page_Load(Object sender, EventArgs e)