Tables not showing in a new Database created using CREATE DATABASE command

Hi there! I've created a database using "Script Database As" in SSMS. Here's the code generated:
USE [master]
GO
/****** Object:  Database [PLMAINDB]    Script Date: 08/22/2014 11:25:44 ******/
CREATE DATABASE [PLTESTDB] ON  PRIMARY 
( NAME = N'CLIENTSPRIME_Data', FILENAME = N'C:\TEMPDB\CLP_Data.mdf' , SIZE = 217472KB , MAXSIZE = UNLIMITED, FILEGROWTH = 10%)
 LOG ON 
( NAME = N'CLIENTSPRIME_Log', FILENAME = N'C:\TEMPDB\CLP_Data.ldf' , SIZE = 1024KB , MAXSIZE = UNLIMITED, FILEGROWTH = 10%)
GO
ALTER DATABASE [PLMAINDB] SET COMPATIBILITY_LEVEL = 80
GO
IF (1 = FULLTEXTSERVICEPROPERTY('IsFullTextInstalled'))
begin
EXEC [PLMAINDB].[dbo].[sp_fulltext_database] @action = 'disable'
end
GO
ALTER DATABASE [PLTESTDB] SET ANSI_NULL_DEFAULT OFF 
GO
ALTER DATABASE [PLTESTDB] SET ANSI_NULLS OFF 
GO
ALTER DATABASE [PLTESTDB] SET ANSI_PADDING OFF 
GO
ALTER DATABASE [PLTESTDB] SET ANSI_WARNINGS OFF 
GO
ALTER DATABASE [PLTESTDB] SET ARITHABORT ON 
GO
ALTER DATABASE [PLTESTDB] SET AUTO_CLOSE ON 
GO
ALTER DATABASE [PLTESTDB] SET AUTO_CREATE_STATISTICS ON 
GO
ALTER DATABASE [PLTESTDB] SET AUTO_SHRINK ON 
GO
ALTER DATABASE [PLTESTDB] SET AUTO_UPDATE_STATISTICS ON 
GO
ALTER DATABASE [PLTESTDB] SET CURSOR_CLOSE_ON_COMMIT OFF 
GO
ALTER DATABASE [PLTESTDB] SET CURSOR_DEFAULT  GLOBAL 
GO
ALTER DATABASE [PLTESTDB] SET CONCAT_NULL_YIELDS_NULL OFF 
GO
ALTER DATABASE [PLTESTDB] SET NUMERIC_ROUNDABORT OFF 
GO
ALTER DATABASE [PLTESTDB] SET QUOTED_IDENTIFIER OFF 
GO
ALTER DATABASE [PLTESTDB] SET RECURSIVE_TRIGGERS OFF 
GO
ALTER DATABASE [PLTESTDB] SET  DISABLE_BROKER 
GO
ALTER DATABASE [PLTESTDB] SET AUTO_UPDATE_STATISTICS_ASYNC OFF 
GO
ALTER DATABASE [PLTESTDB] SET DATE_CORRELATION_OPTIMIZATION OFF 
GO
ALTER DATABASE [PLTESTDB] SET TRUSTWORTHY OFF 
GO
ALTER DATABASE [PLTESTDB] SET ALLOW_SNAPSHOT_ISOLATION OFF 
GO
ALTER DATABASE [PLTESTDB] SET PARAMETERIZATION SIMPLE 
GO
ALTER DATABASE [PLTESTDB] SET READ_COMMITTED_SNAPSHOT OFF 
GO
ALTER DATABASE [PLTESTDB] SET HONOR_BROKER_PRIORITY OFF 
GO
ALTER DATABASE [PLTESTDB] SET  READ_WRITE 
GO
ALTER DATABASE [PLTESTDB] SET RECOVERY FULL 
GO
ALTER DATABASE [PLTESTDB] SET  MULTI_USER 
GO
ALTER DATABASE [PLTESTDB] SET PAGE_VERIFY TORN_PAGE_DETECTION  
GO
ALTER DATABASE [PLTESTDB] SET DB_CHAINING OFF 
GO
The mdf and ldf files for PLTESTDB were created successfully. The issue I'm having is that tables are not showing when under PLTESTDB. I've searched online and most answers point to Permission issue. I already added user with the ff. database roles 
db_owner
db_reader
db_writer
But even after refreshing or even closing relaunching SSMS, i could not see any table under PLTESTDB. I've spent  a lot of time already on this but can't find the fix. I might be missing something here. I tried it on another computer but same issue
persists. 
Any ideas or suggestions on how to get this resolved are highly appreciated! Thanks in advance. 
Bong Robles

You're right Olaf! The above script is only for creating DB and not tables.   I should have done further reading.  I tried now generating scripts for all objects and I got the ff. error:
Msg 207, Level 16, State 1, Procedure CallbackFormViewUpdateCommand, Line 38
Invalid column name 'upsizets'.
Msg 207, Level 16, State 1, Procedure CallbackFormViewInsertCommand, Line 37
Invalid column name 'upsizets'.
Msg 207, Level 16, State 1, Procedure CallbackFormViewInsertCommand, Line 39
Invalid column name 'upsizets'.
Msg 1018, Level 15, State 1, Procedure GrabCounterUpdate, Line 7
Incorrect syntax near 'holdlock'. If this is intended as a part of a table hint, A WITH keyword and parenthesis are now required. See SQL Server Books Online for proper syntax.
Msg 1018, Level 15, State 1, Procedure GrabCounterAllUpdate, Line 7
Incorrect syntax near 'holdlock'. If this is intended as a part of a table hint, A WITH keyword and I parenthesis are now required. See SQL Server Books Online for proper syntax.
I'm working on fixing the errors now. I think I can handle this now.
Really appreciate your quick help. Thanks!
Bong Robles
I think script is having reference to a column which doesnt exist
But unless we see script we will not able to understand the exact reason
Can you post script?
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

Similar Messages

  • IMG Menu is not showing Financial accounting New in ECC 6.0

    Hi
    We have completed a technical upgrade from 4.7 to ECC 6.0 but IMG menu of ECC 6.0 is not showing financial accounting new.I believe financial accounting new is the integral part of ECC 6.0 and both the menu Financial accounting and financial accounting new should show.
    If anybody has face this issue,Please respond
    Regards
    Gaurav

    Hi Markus,
    I do have access to u201CActivate New General Leader Accountingu201D but help of this node says below points:
    The functions for new General Ledger Accounting become available.
    In the SAP Reference IMG, the previous Financial Accounting menu is replaced by the Financial Accounting (New) menu. Under Financial Accounting Global Settings (New) and General Ledger (New), you can make the settings for New General Ledger Accounting.
    You activate the tables of new General Ledger Accounting so that your posting data is written to them.
    Caution:
    If you already use classic General Ledger Accounting in your production system, you need to perform the migration of this data before you activate New General Ledger Accounting. Migration is only possible as part of a project. For more information, see the documentation in the SAP Library under Accounting -> Financial Accounting -> General Ledger Accounting (New) -> Tools -> Migration.
    I guess this tab is use at the time of going for the functional upgrade which I believe a separate project. We only want to have that both the node u201Cfinancial accountingu201D and u201Cfinancial accounting newu201D should appear.
    Please suggest if you have any idea or any person who had faced the same kind of problem in past.
    Regards
    Gaurav Agarwal

  • Crystal reports not showing in add new in vs 2013 ultimate

    Dear every one
    i installed cr x1 but it not showing in add new item reports
    then i download CRforVS_redist_install_32bit_13_0_13 and install it but there is nothing in add new item in visual studio 2013
    ultimate please guide me how to fix this issue
    thanks 

    Hi ABDULLAHAAJSOFT,
    Thank you for posting in MSDN forum.
    Since this forum is to discuss: Visual Studio WPF/SL Designer, Visual Studio Guidance Automation
    Toolkit, Developer Documentation and Help System, and Visual Studio Editor.
    As you said the crystal reports, I am afraid that this issue is related to third-party, and it is not supported in this forum. So I suggest you could try posting this issue in
    crystal reports website:
    http://scn.sap.com/community/crystal-reports , you will get better support.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Email images are not showing in my new iPad.

    email images are not showing in my new iPad.  This was not a problem initially, but just started.  I use yahoo mail.  Any thoughts?

    This seems to be a problem with Yahoo! that started within the past few days.  I am assuming that you are accessing your Yahoo! Mail through Safari.  Until a fix is issued, you have two options -- (1) use the Mail app included in iOS, logging in with your Yahoo! account information or (2) when in Yahoo! Mail in Safari, click on your profile name/pic in the bottom left corner, choose Options, and then choose the last option, which displays your e-mail using the older classic version of Yahoo! Mail.  It's not as pretty or easy to manuever around, but at least it shows the images in your e-mails, which is the most important thing.  Both Apple and Yahoo! have been contacted about this issue, so hopefully a fix will be released soon.

  • My Podcast Is Not Showing Up In New Releases ?!

    The NOLS Podcast (http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=340445001) is not showing up in new releases when we release a new episode? How long is the turn around time for this? Is there something I did or can do?

    Give it a few days. For some reason it take some time for a podcast to appear in the Search results after it's been approved and appeared in the Store.

  • Mac OS X Server v10.7 does not show the ethernet link aggregated interface I created in Server Hardware Network Dialogue window. Are link aggregated ethernet connections not supported in Lion Server?

    Mac OS X Server v10.7 does not show the ethernet link aggregated interface i created. Does Lion server support ethernet link aggregated interfaces?

    Thanks for responding Cold--
    Hardware: Mac Pro  3.0 GHZ quad core xeon
    I read the link but it still does not explain why the aggregated dual ethernet interface does not show up in the Network tab of the hardware section Lion Server. I was able to see it on the network and looks to be using a single static IP that I assigned. My concern was that is this supported and will it allow for failover and double performance of the single network interface.
    Any thoughts?
    Thanks again!

  • HT201269 When I backed up my old iPhone on iCloud, the backup does not show up on new iPhone setup screen. How do I fix this?

    When I backed up my old iPhone on iCloud, the backup does not show up on new iPhone setup screen. How do I fix this?

    if I backed up with a newer version of iOS than the phone I am trying to backup to.. Is there any way to bypass the setup assistant in order to download the new iOS on the new phone then go back and restore from my old phone?

  • Siri not working on brand new iPhone 4S - using 4G or Wi-Fi

    Siri not working on brand new iPhone 4S - using 4G and Wi-Fi
    I have tried multiple times over numerous days in multiple locations
    Any hints?

    Well to start your iPhone 4S does not have 4G... it just shows 4G at the top of the screen..
    Try turning SIRI off and on.. if that does not work
    Settings>General>Reset>Reset Network Settings..
    Because SIRI is a network connection to a server nothing more.. it is not on your device so nothing is wrong with your phone..
    Also SIRI is in BETA... and not 100%

  • Filter on the reports created using DIRECT DATABASE ACCESS in obiee 10g

    How do i filter on the report that is created by using DIRECT DATABASE ACCESS in obiee 10g?
    I have reprot A with link to report B, report B is created using DIRECT DATABASE ACCESS. so it is just a table, but i need to filter out 2 columns.
    here is the query in REPORT B:
    select strm, acad_group, crse_id, class_section, count(emplid) from v_crse_enrl
    group by crse_id, strm, class_section, acad_group;
    the link in REPORT A:
    '<a target="_blank" href="'||VALUEOF("bi_link")||'Go&Path=CF_CROSS_TEACHING_LIST&ACTION=Navigate&col1=STRM&val1='||view1_DIMEN.STRM||'&col2=CLASS_SECTION&val2='||TRIM(view1_DIMEN.CLASS_SECTION)||'">' ||view1_dimen.class_id||'</a>'
    from this link to report B.
    thank you!!

    I didnt tested using url, but the same works with using presentation variables.
    To your direct sql add where clause for those two columns like WHERE col='@{col1}' and col ='@{col2}'
    and try to run from url.
    let me know updates

  • My G Drive will not show up on my desktop for use. It did yesterday. It is not full and currently the light turns on and seems to be running but will not show up on my desktop. What can I do?

    My G Drive will not show up on my desktop for use. It did yesterday. It is not full and currently the light turns on and seems to be running but will not show up on my desktop. What can I do?

    1. verify on another Mac first. and another port.
    2. very likely dead SATA card
    read about it here:
    Your dead external hard drive is likely fine! Great hope for your 'faulty' external HD

  • I Published a report on the report server but it's not showing in the internal application we use to access reports

    Hi, 
    I Published a report on the report server but it's not showing in the internal application we use to access reports. The name of the application we use is called MAMA and this application has access to all the reports on the SQL report server. My email is
    [email protected] my cell phone number is 201-888-7952. 
    Thanks. 

    Hi Roger,
    Based on my understanding, you publish a report on the report server. When you access reports with internal application, the report doesn’t display, right?
    In your scenario, since you mentioned you have published the report to report server, please go to report manager, check if you can see the published report and open the report properly. If the published report is displayed on report manager, it should not
    be the issue in Reporting Services. In this scenario, since the MAMA application has established connection with on report server, it may not update items on report server after you publish your report onto report server. So please try to “refresh” in MAMA
    or reconnect the report server. If issue persists, I suggest you contact the MAMA application vendor to get some more effective advices.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu

  • Why are my desktop fonts not showing up as an option to use in Muse anymore?

    Why are my desktop fonts are not showing up as an option to use in Muse anymore? I know that my desktop fonts are not web safe and will export as an image... But I would still like to have them as an option. Why did this start with the latest release? I cannot find anything in the preferences or menus to make them show up as an option. I am running OSX 10.9.4 and Muse 2014.0.1.30 CL785017. Please help!!!

    Hello,
    Could you please try the following:-
    Reboot in safe mode by pressing the SHIFT key (it takes a while) so the OS clears the font cache.
    Reboot then in normal mode and the fonts should show properly.
    Regards,
    Neha

  • Is anyone else having trouble viewing the SEC network via Watch ESPN on a 2nd gen Apple TV?  Software is up to date, but SEC network not showing up as a channel.  Using Xfinity - and it appears on iPhone5 but not on iPad2 - both of which ar

    Is anyone else having trouble viewing the SEC network via Watch ESPN on a 2nd gen Apple TV?  Software is up to date, but SEC network not showing up as a channel.  Using Xfinity - and it appears on iPhone5 but not on iPad2 - both of which are current on IOS. Help!

    the wifi router could also be blocking
    and to really test if the windows firewall is the problem then try turning it off!
    if that scare you too much then disable the internet modem / cable modem or the likes while you test
    always remove more and more factors when troubleshooting sooner or later it will work and you can narrow down which factor did the job and work on that

  • SqlConnection Database Tables not Showing

    I am connecting to my remote server but when I try to view my
    tables they don't show.
    I am using DreamweaverCS3, Database is MS SQL. My operating
    system is Win Vista Ultimate.
    Thanks.

    Yes, you do need to run a stored procedure. It's described in the PowerBuilder documentation.
    As Chris said you'd be far better off using the native interface driver. I've never heard of it being separated out anywhere, so if your installation software for ASE does not include OpenClient, then I doubt that it's a genuine copy of the software.

  • Table not showing data after refresh

    Hi gurus ,
    A unique problem We have added a field in the custom table . once moved to quality system it is not showing up the data whwn when we do a select query on that table in se16 . say total entries are ten thousand four of them are checked and when display not checked i.e eq space we get just 100 entries on number of entries ..i asked to regenerate the table in quality system but it did not help .The Quality system was refresh 1 month ago and we see it not working after it ..please suggest the correct steps we need to perform  to recover the data . Adjust database with keep data has already been done ...

    Hi Anjaneya Bhardwaj,
    If I understand well, your issue is that you have a SELECT in your program, saying newfield is your newfield, something like:
    SELECT ... FROM ztable INTO ... WHERE newfield = space.
    and it doesn't return the records that existed in quality before newfield was added.
    It it because, by default, when you add a field to an existing database table, with records already present, they are assigned the NULL value, which is different from space.
    They can be retrieved using WHERE newfield IS NULL.
    Usually, to avoid this issue, when we add a new field, we tick the "no null value" checkbox for this new field, in SE11 transaction. That will initialize the field of existing records, to the initial value (space for characters, 0 for numeric fields, etc.) Note: maybe it can be counter performant for big tables...
    Solution for your issue, run this code once:
    UPDATE ztable SET newfield = space WHERE newfield IS NULL.
    BR
    Sandra

Maybe you are looking for