|
|
|
Вопрос по View -MS SQL6.5
|
|||
|---|---|---|---|
|
#18+
Как создать View с where ~ текущий месяц? Жестко задать дату...? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 15.11.2001, 01:47 |
|
||
|
Вопрос по View -MS SQL6.5
|
|||
|---|---|---|---|
|
#18+
create view View1 as select * from Table1 where Year(FieldDate) = Year(getdate()) and Month(FieldDate) = Month(getdate()) Правда я уже не помню есть ли в 6.5 функции Year и Month. Но вместо них можно использовать DatePart ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 15.11.2001, 06:05 |
|
||
|
|

start [/forum/topic.php?fid=46&msg=32016991&tid=1824951]: |
0ms |
get settings: |
7ms |
get forum list: |
18ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
333ms |
get topic data: |
13ms |
get forum data: |
4ms |
get page messages: |
44ms |
get tp. blocked users: |
2ms |
| others: | 195ms |
| total: | 622ms |

| 0 / 0 |
