Hey everyone ..
i have a website going .. .. ofcourse you use the Ws-FTP to upload the
photos to the page .. and i have to use SQL program to insert the file
names and values into the Database ..
i have been doing this for the longest time .. ill show u an
example below ..
Insert INTO PHoto (FOLDER, PIC_NAME, TAKEN_FROM, TAKEN_DATE, MONTH_YEAR,
DISPLAY_FOLDER, MONTH_YEAR_ID) VALUES('PHOTO BLAH BLAH BLAH .. ..
basically all the values .. the name and dates etc.
been doin it for the longest time .. excute the line and it will give me
an OK .. and my photo will be up on the website! ..
i tried uploading some files today .. and i get this weird message!
[microsoft][ODBC SQL server Driver][Sql server]String or binary data
would be truncated.
and now i can't put anythin into the database cause everytime i try to
excute and put those files up .. it gives me that error!
can anyone help plz?
--
Posted via
http://dbforums.com