Monday, June 25, 2018

Find all table names with column name in sql

SELECT c.name AS ColName, t.name AS TableName
FROM sys.columns c
    JOIN sys.tables t ON c.object_id = t.object_id
WHERE c.name LIKE '%MyCol%';

11 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. This is a nice post in an interesting line of content.Thanks for sharing this article, great way of bring this topic to discussion.

    java training in chennai | java training in bangalore

    java online training | java training in pune

    ReplyDelete
  4. I have visited this blog first time and i got a lot of informative data from here which is quiet helpful for me indeed. 
    python training Course in chennai
    python training in Bangalore
    Python training institute in kalyan nagar

    ReplyDelete
  5. Well somehow I got to read lots of articles on your blog. It’s amazing how interesting it is for me to visit you very often.
    iWatch service center chennai | apple ipad service center in chennai | apple iphone service center in chennai

    ReplyDelete
  6. You blog post is just completely quality and informative. Many new facts and information which I have not heard about before. Keep sharing more blog posts.
    iWatch service center chennai | apple ipad service center in chennai | apple iphone service center in chennai | Apple laptop service center in chennai

    ReplyDelete
  7. wonderful article. Very interesting to read this article.I would like to thank you for the efforts you had made for writing this awesome article.This was a great blog. Really worth reading it. Thanks for spending time to share this content with us.

    Data Science Training In Chennai

    Data Science Online Training In Chennai

    Data Science Training In Bangalore

    Data Science Training In Hyderabad

    Data Science Training In Coimbatore

    Data Science Training

    Data Science Online Training

    ReplyDelete
  8. Really nice and interesting post. I was looking for this kind of information and enjoyed reading this one. Keep posting. Thanks for sharing.
    https://www.analyticspath.com/machine-learning-training-in-hyderabad

    ReplyDelete

  9. Nice article and thanks for sharing with us. Its very informative

    Plots in THIMMAPUR

    ReplyDelete
  10. Really an awesome blog and informative blog and useful for many people. Thanks for sharing this blog with us. If you want a data science course, then check out the following link.
    Data Science Training Institute in Hyderabad

    ReplyDelete