Home > database >  Novice consult an SQL statement!
Novice consult an SQL statement!

Time:09-25

I am using ASA10.0 database and pb12.0, below is I use SQL statements to copy a file, but not success is not an error, which is the master, please give an issue?
Ls_cmdshell=master. The dbo. "or" copy "+ ls_source + '+ ls_target +"' "
The execute IMMEDIATE: ls_cmdshell;

CodePudding user response:

This is the statement, MSSQL ASA

CodePudding user response:

Direct use PB filecopy (ls_source ls_target, true) to copy

CodePudding user response:

Filecopy () it always returns - 2, don't copy, don't know the reason why

CodePudding user response:

- 2 unable to write to the target file
The target directory is not allowed to read and write files

CodePudding user response:

No permission!

CodePudding user response:

The target directory does not automatically generate?

CodePudding user response:

I won't

CodePudding user response:

I built a directory, but still return - 2, also need to set the directory? System is XP system

CodePudding user response:

I share attributes in the directory of the WEB in the read and write permissions are ticked, or return to 2, does anyone know what's going on?

CodePudding user response:

I'm using the webform development

CodePudding user response:

Before learning the web, are using PB9, no contact with the web, a confused, who has the information available
  • Related