Solved

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

Posted on 2011-02-27
3
234 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sql join/ assign small # first 10 80
T-SQL Using IN with a subquery 3 25
Retention Policy for Backups 1 24
Sql query to Stored Procedure 6 38
This is basically a blog post I wrote recently. I've found that SARGability is poorly understood, and since many people don't read blogs, I figured I'd post it here as an article. SARGable is an adjective in SQL that means that an item can be fou…
After restoring a Microsoft SQL Server database (.bak) from backup or attaching .mdf file, you may run into "Error '15023' User or role already exists in the current database" when you use the "User Mapping" SQL Management Studio functionality to al…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

932 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

21 Experts available now in Live!

Get 1:1 Help Now