SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Image Mode
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

sent_sara
Constraint Violating Yak Guru

India
366 Posts

Posted - 02/18/2013 :  06:42:59  Show Profile  Reply with Quote
Is it possible to identify the Image(*.jpg) mode (Landscape/Portrait)
which i've stored in Hardrive (d:\images\) through T-sql Statement?

James K
Flowing Fount of Yak Knowledge

3705 Posts

Posted - 02/18/2013 :  07:51:22  Show Profile  Reply with Quote
There is no native T-SQL statements that I am aware of that will enable you to do this. If you want to do this from within a T-SQL query, the only options I can think of are via a CLR stored procedure or via a executing a system command using xp_cmdshell. The code (written in .Net language if you want to use CLR stored proc) would need to examine the EXIF information from the JPG file to figure it out.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000