SizeBlobMBS(data as any) as blob
If the data is a blob, it returns the size of the blob. If the data is a string it is used as path and the file size is returned. Path must be native path and should only contain ASCII characters.
Be careful with this function. If used wrong, the user can check every file on the computer. Especially if the server runs with admin privileges.
select SizeBlobMBS(mydata) as rdata from test select SizeBlobMBS(name) from test where LeftMBS(name,1)="/"
Back to function list.