Is there any differnce between open view and select * from view ?
Oct 02 '12 at 01:49 PM
Oct 02 '12 at 02:49 PM
There is no T-SQL syntax support for OPEN VIEW. You can use the SQL Server Management Studio to issue a command that is running "SELECT * FROM view" in the background.
Oct 02 '12 at 04:31 PM
Grant Fritchey ♦♦
Thanks a lot Grant.The reason I asked this question is I am trying to copy information from a column and paste it in a tool called 7edit(tool for reading hl7 messages). If I copy date from a physical table or a view the 7edit tool wont parse the string.But If I copy information from open view command then 7edit dosent give any problem. So, I was a bit curious.
Sounds like the difference in output. You can try varying the results from a query too. There's a button at the top that will change the output to text instead of a grid. Experiment a little.
Differnce in output may be the issue. I tried output to text to but only if i copy from an open view then it works..sql server is sometimes funny..
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
Once you sign in you will be able to subscribe for any updates here
Answers and Comments
asked: Oct 02 '12 at 01:49 PM
Seen: 264 times
Last Updated: Oct 10 '12 at 10:58 AM
how to get the value used in SP or Views or Functions or SQL Jobs?
Restore database losing views
how to get total no of months
Using a cursor and temporary table together
Difference between website and web application in .NET
How to display the output of a query in html form?
Sql Connect with java
Return recordset of ranges found in a list
SQL left outer join on two fields
Reporting Services BUILTIN\Administrator and how to get rid?
Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved. If you have any queries, please contact the site administrators.Ask SQL Server Central is a community service provided by Red Gate.