mark cuve
mark cuve

Reputation: 103

how do i implement regular expression in amazon simpledb

I have data stored in this format in amazon simpledb

source     code            success
fa.php    987439aa           true
ga.php    aa84892            false

how do i wrtie this type of query in simpledb

select * from domain_name where source = 'fa.php'
and code='ANy thing' and success = 'true'

How do i write code part in the above query

Upvotes: 0

Views: 212

Answers (1)

Ashish Pancholi
Ashish Pancholi

Reputation: 4659

You can run this select query to achieve you result -

**select * from domain_name where source = 'fa.php' and code is not null and success = 'true'**

You can not add/update/delete data using Amazon simple DB query.

Upvotes: 1

Related Questions