I have this very simple test document stored in DocumentDb:
{
"DocumentDbTest_Countries": {
"@country": "C24105130563",
"@language": "C24105130563",
"@countryCode": 1663405662,
"@version": "2015-08-24T08:51:32:030.6165"
},
"id": "729607bd-38c5-2a96-0bc4-371a0a5bca4a"
}
Which I can find easily using the Document Explorer, and, also using the following Sql query in the Query Explorer:
SELECT * FROM DocumentDbTest_Countries c
But surprisingly when i run the following SQL query, it can't find the result:
SELECT * FROM DocumentDbTest_Countries c where c.country = 'C24105130563'
Can someone please guide me as to what I am doing wrong in the above SQL query?? I tried using double quotes instead of single but to no avail.