|
|
|
Подскажите замучался
|
|||
|---|---|---|---|
|
#18+
Выручайте кто может,а то я уже зашился... create procedure Proc1( @Name nvarchar(50) @ZDate datetime @OwnerID int @PlatID int @MoneyTypeID int @BorTypeID int @PriorityID int @SourceID int @ValIDBor int @NaprID int @ZaprSum float @DateOpl datetime @NormDateOpl datetime @PostID int )as begin declare @ret int declare @z money set @z = convert(money,@ZaprSum) insert Zayavka values(@Name,@ZDate,@OwnerID,NULL,@PlatID,@PostID,@MoneyTypeID,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,@DateOpl,@BorTypeID,NULL,@PriorityID,@ValIDBor,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,@SourceID,NULL,@NaprID,@z,@NormDateOpl) set @ret = @@error return @ret end Ошибки : Line 3: Incorrect syntax near '@ZDate'. Must declare the variable '@ZaprSum'. Must declare the variable '@Name'. Подскажите чтобы ето значило.. Спасибо ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 08.07.2002, 17:54:27 |
|
||
|
Подскажите замучался
|
|||
|---|---|---|---|
|
#18+
А ты промеж объявлений переменных запятые поставь, может полегчает. :) ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 08.07.2002, 18:04:52 |
|
||
|
|

start [/forum/topic.php?fid=46&fpage=3455&tid=1821933]: |
0ms |
get settings: |
7ms |
get forum list: |
13ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
44ms |
get topic data: |
11ms |
get forum data: |
3ms |
get page messages: |
34ms |
get tp. blocked users: |
1ms |
| others: | 242ms |
| total: | 359ms |

| 0 / 0 |
