Click here to Skip to main content
15,891,993 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
HI

i want a search query to find the string from table where month is having double quotes number
e.g
C#
Month("{Partnership.FiscalStartDate}") = "1"
Posted
Updated 13-Nov-11 22:13pm
v2
Comments
[no name] 14-Nov-11 3:34am    
What have you tried?

1 solution

Month[^] returns integer value. If you are using this, you should compare it like Month(Partnership.FiscalStartDate) = 1
 
Share this answer
 
Comments
lakshmichawala 14-Nov-11 3:41am    
yes the above one is correct but in my table some fields having "1" so i want to remove that so i need a query to find the records which are having that case
lakshmichawala 14-Nov-11 3:41am    
yes the above one is correct but in my table some fields having "1" so i want to remove that so i need a query to find the records which are having that case
Prerak Patel 14-Nov-11 3:55am    
How could you have " in date field? Let me know which data type you have and some sample data.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900