Этот баннер — требование Роскомнадзора для исполнения 152 ФЗ.
«На сайте осуществляется обработка файлов cookie, необходимых для работы сайта, а также для анализа использования сайта и улучшения предоставляемых сервисов с использованием метрической программы Яндекс.Метрика. Продолжая использовать сайт, вы даёте согласие с использованием данных технологий».
Политика конфиденциальности
|
|
|
Чем заменить Replace от MsSQL для SyBase ASE 12.5.1
|
|||
|---|---|---|---|
|
#18+
Добрый день. Перевожу хранимые процедуры с Microsoft SQL Server 2000 на SyBase ASE 12.5.1 столкнулся с функцией REPLACE .... Кто ни будь сталкивался как ее перевести при помощи стандартных функций SyBase ASE? Описание из HELP(а) MSSQL REPLACE Replaces all occurrences of the second given string expression in the first string expression with a third expression. Syntax REPLACE ( 'string_expression1' , 'string_expression2' , 'string_expression3' ) Arguments 'string_expression1' Is the string expression to be searched. string_expression1 can be of character or binary data. 'string_expression2' Is the string expression to try to find. string_expression2 can be of character or binary data. 'string_expression3' Is the replacement string expression string_expression3 can be of character or binary data. Return Types Returns character data if string_expression (1, 2, or 3) is one of the supported character data types. Returns binary data if string_expression (1, 2, or 3) is one of the supported binary data types. Examples This example replaces the string cde in abcdefghi with xxx. SELECT REPLACE('abcdefghicde','cde','xxx') GO Here is the result set: ------------ abxxxfghixxx (1 row(s) affected) ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 18.01.2007, 11:23 |
|
||
|
Чем заменить Replace от MsSQL для SyBase ASE 12.5.1
|
|||
|---|---|---|---|
|
#18+
в 12.5.1 можно оперировать только этим ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 18.01.2007, 11:35 |
|
||
|
|

start [/forum/topic.php?fid=55&msg=34264103&tid=2012307]: |
0ms |
get settings: |
10ms |
get forum list: |
17ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
48ms |
get topic data: |
11ms |
get forum data: |
2ms |
get page messages: |
50ms |
get tp. blocked users: |
1ms |
| others: | 255ms |
| total: | 400ms |

| 0 / 0 |
