简体   繁体   English

如何通过其唯一ID获取文件名?

[英]How to get file name by its unique id?

I have unique id of a MSword file.I want to know the name of this word file and location,where this file is stored by this unique id. 我有一个MSword文件的唯一ID。我想知道这个Word文件的名称和位置,该文​​件由该唯一ID存储。 Thanks in advance 提前致谢

My guess would be a query in the database you got the ID from: SELECT path FROM documents WHERE id = @whatever 我的猜测是对您从中获得ID的数据库中的查询: SELECT path FROM documents WHERE id = @whatever

(btw, I also voted to close as "Not a real question") (顺便说一句,我也以“不是一个真正的问题”作为投票结束)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM