|
|
|
Народ помогите правильно составить if()
|
|||
|---|---|---|---|
|
#18+
Суть проблемы. Необходимо проверить конвертится ли текстовая строка varchar в numeric, и в зависимости от результата выполнить определенные действия(Если конвертится то 1 если не конвертится то 2). Как правильно поступить в этом случае? Спосибо. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 01.10.2002, 12:36:12 |
|
||
|
Народ помогите правильно составить if()
|
|||
|---|---|---|---|
|
#18+
ISNUMERIC Determines whether an expression is a valid numeric type. Syntax ISNUMERIC ( expression ) Arguments expression Is an expression to be evaluated. Return Types int Remarks ISNUMERIC returns 1 when the input expression evaluates to a valid integer, floating point number, money or decimal type; otherwise it returns 0. A return value of 1 guarantees that expression can be converted to one of these numeric types. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 01.10.2002, 12:51:21 |
|
||
|
Народ помогите правильно составить if()
|
|||
|---|---|---|---|
|
#18+
Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. С уважением, Александр Степанов ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 01.10.2002, 12:54:00 |
|
||
|
|

start [/forum/topic.php?fid=46&msg=32054377&tid=1819949]: |
0ms |
get settings: |
10ms |
get forum list: |
16ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
75ms |
get topic data: |
12ms |
get forum data: |
4ms |
get page messages: |
40ms |
get tp. blocked users: |
2ms |
| others: | 238ms |
| total: | 405ms |

| 0 / 0 |
