Solved

Find all columns based on a UNION

Posted on 2013-06-16
1
491 Views
Last Modified: 2013-06-16
In the information schema tables of my SQL Server database I need to find a way to identify if a column is based on a union so when I do my bulk insert in .NET I don't map to this column...I already know how to identify the computed columns there.

Any suggestions would be awesome....
0
Comment
Question by:jnordeng
1 Comment
 

Accepted Solution

by:
jnordeng earned 0 total points
ID: 39251576
select *from sys.computed_columns. See if it has a definition.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now