用于存储文件路径的MySQL语法

时间:2017-03-21 05:20:08

标签: c# mysql api postman

我在我的数据库(MySQL)中存储文件路径..但​​是当路径存储在表中时它没有反斜杠存储...在下面找到我的MySQL查询..

INSERT INTO ContentViewed (`UserDataId`, `ProductId`, `FileId`, `Name`, `HitCount`, `VideoTime`, `BatchId`, `UniversityId`, `UniUserId`, `type`, `CreatedOn`, `ModifiedOn`, `FileType`, `SubjectId`,`MaxScore`,`Timestamp`, `content_path`, `scoreByTotal`) 
VALUES (78, 12 , 12 , 'Mayur', 3, '21212121',0 ,0 ,0 ,1, '1490005519','14444258', 2, 0, 0.0, '1490007296', 'F:\\\\SD Cards\\\\Original\\\\BPP-English\\\\Basic Language Skills\\\\Lessons\\\\Video\\\\Unit 4 - Language Used in \\u0026 Its Use in\ Different Fields.mp4' ,'22');

0 个答案:

没有答案