Solved

SQL Server how to find a table and generate the script for it.

Posted on 2011-02-27
3
236 Views
Last Modified: 2012-05-11
I have view based on table. Which I can not find in Enterprise Manager.
Is there such a thing as hidden table in SQL Server?
How can I find it... Once I find it - how can I script a single table?
0
Comment
Question by:JElster
  • 2
3 Comments
 
LVL 23

Accepted Solution

by:
wdosanjos earned 400 total points
ID: 34993583
Check on the views below for your table:

select * from INFORMATION_SCHEMA.TABLES
select * from INFORMATION_SCHEMA.VIEWS

0
 
LVL 1

Author Comment

by:JElster
ID: 34993604
I don't see it but one of the views is based on it.. How is this possible
0
 
LVL 1

Author Comment

by:JElster
ID: 34993613
I found it .. it's a user defined function.. but I don't have rights to view it
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

821 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