From Display Html
select cast(DonorOrganizationName as nvarchar(500)) as DonorOrganizationName,ChannelOrganizationName,EmergencyTitle,AppealTitle,ProjectCode,EmergencyYear,USD_commit+USD_disbu as USD_commitdisbu,USD_pledg,Contribution_Description,SectorName,Original_Currency,Original_currency_unit,Decision_Date,DestinationCountryName,ContributionStatusCode,CASE Reported_by WHEN 'Dono' THEN 'Donor' WHEN 'AgDo' THEN 'Donor and Agency' WHEN 'Agen' THEN 'Agency' WHEN 'Othe' THEN 'Other' END Reported_By from tblLabelContributions where and emergencyyear <= '2016' order by CAST(decision_date AS SMALLDATETIME)
System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near the keyword 'and'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) at Microsoft.Practices.EnterpriseLibrary.Data.Database.DoLoadDataSet(IDbCommand command, DataSet dataSet, String[] tableNames) in e:\Builds\EntLib\Latest\Source\Blocks\Data\Src\Data\Database.cs:line 517 at Microsoft.Practices.EnterpriseLibrary.Data.Database.LoadDataSet(DbCommand command, DataSet dataSet, String[] tableNames) in e:\Builds\EntLib\Latest\Source\Blocks\Data\Src\Data\Database.cs:line 1383 at Microsoft.Practices.EnterpriseLibrary.Data.Database.LoadDataSet(DbCommand command, DataSet dataSet, String tableName) in e:\Builds\EntLib\Latest\Source\Blocks\Data\Src\Data\Database.cs:line 1336 at Microsoft.Practices.EnterpriseLibrary.Data.Database.ExecuteDataSet(DbCommand command) in e:\Builds\EntLib\Latest\Source\Blocks\Data\Src\Data\Database.cs:line 589 at Microsoft.Practices.EnterpriseLibrary.Data.Database.ExecuteDataSet(CommandType commandType, String commandText) in e:\Builds\EntLib\Latest\Source\Blocks\Data\Src\Data\Database.cs:line 673 at FtsDotNet.SqlHelper.ExecuteDataSet(CommandType cmdType, String commandText) in D:\TFS\CAP\FTSExternal35-AsposeReports\WebUI\common\SqlHelper.vb:line 29 at FtsDotNet.reporting_display1.displayHTML(String QueryParamStr) in D:\TFS\CAP\FTSExternal35-AsposeReports\WebUI\Controls\Search\reporting_display.ascx.vb:line 331 ClientConnectionId:463e2a18-4f2a-45b1-83fc-3c24afa585ae Error Number:156,State:1,Class:15 ClientConnectionId before routing:cbe97ed3-1837-42c2-b9ab-4126f8ee9dbf Routing Destination:d0e408e7c611.tr12.eastus2-a.worker.database.windows.net,11482 Custom search results: contribution
This site is archived and no longer updated as of 13 Jan 2017.
Please visit the new FTS site for the latest data.
New search
Modify selection criteria

Subtotals by group
Display additional fields

Export to XLS (Print)
To save this query to your personal FTS page, click here to login. 

Click on any column heading to re-order the table according to that column.
There has been an error while performing this query. Please try again or create a new query.

Welcome to the FTS archive!

IMPORTANT: On 23 January 2017, we switched permanently to the new FTS website. The data on this site is no longer updated as of 13 January 2017.

This site is now available only as an archive. The new website contains all the historical data and functionality available here, and its data is regularly updated.

Visit the FTS website (fts.unocha.org).