Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2005 > SQL Server 2005
|
SQL Server 2005 General discussion of SQL Server *2005* version only.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 21st, 2007, 10:45 AM
Registered User
 
Join Date: May 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Stranger than Fiction: diff. in Edit vs Design vie

In SQL Server 2005 Management Studio, When looking at a view in a SQL Server 2000 Enterprise Edtion (SP4) database I see 1 version in "Edit" and a completely different version of the view in "Design". For example in "Edit" I see something like (which is the same as in SQL Server 2000 "Design"):

SELECT *
From TableA
WHERE ...

In "Design" I see something like this instead:

SELECT Field1, Field2, Field3 AS Field5, Field4 AS Field6, Field5 AS Field7, ...
From TableA
WHERE ...

Most of the fields are being aliased with the names of the other fields in TableA. Has anyone seen this before? Is this documented anywhere?

For further detail the view is dropped and re-created in a SSIS package using Script tasks and Execute SQL tasks.

I know I probably shouldn't use "SELECT *", which was the way the view was created before I arrived, but could this still occur even
if the field names are used? Is this something due to using SSIS on a SQL Server 2000 database?








Similar Threads
Thread Thread Starter Forum Replies Last Post
Diff between C & C# yukijocelyn C# 4 November 27th, 2007 06:16 AM
SEO/Viewstate - fact or fiction?? jimibt BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 August 27th, 2007 11:43 AM
Design patterns for web design ceadge HTML Code Clinic 0 June 19th, 2006 11:26 AM
What is the diff between "=" and ":=" ix_ly Excel VBA 1 October 24th, 2005 11:10 PM
Java Design issue with UML and Design Patterns the_logical_way Apache Tomcat 0 May 31st, 2004 04:02 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.