Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

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

Constraint Violating Yak Guru

377 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

3873 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  
 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.04 seconds. Powered By: Snitz Forums 2000