|
|
|
Parameters
|
|||
|---|---|---|---|
|
#18+
Добрый день! Не подскажите как можно использовать 2 параметра для нескольких запросов? К примеру у меня есть 2 запроса: Dim commMMS1 As OracleCommand = New OracleCommand("select count(t.dialed) as COUNT_OUT, sum(t.duration) as SUMMA_D_OUT from calls_all t where t.lcal_lcal_id = 39 and t.start_time>=:PARAM1 and t.start_time<=to_date(:PARAM2)+1", conn) commMMS1.CommandType = CommandType.Text Dim commMMS2 As OracleCommand = New OracleCommand("select count(t.dialed) as COUNT_IN, sum(t.duration) as SUMMA_D_IN from calls_all t where t.lcal_lcal_id = 38 and t.start_time>=:PARAM1 and t.start_time<=to_date(:PARAM2)+1", conn) commMMS2.CommandType = CommandType.Text Помогите пожалуйста, очень нужно. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 22.06.2007, 13:51 |
|
||
|
|

start [/forum/topic.php?fid=17&fpage=94&tid=1352735]: |
0ms |
get settings: |
7ms |
get forum list: |
10ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
34ms |
get topic data: |
11ms |
get forum data: |
2ms |
get page messages: |
36ms |
get tp. blocked users: |
2ms |
| others: | 193ms |
| total: | 299ms |

| 0 / 0 |
