Designer10g R2 Design Capture of SQL Server DDL file Failed

I have been using Designer 10g R2 to design capture Oracle Database Schema into the Server Model Diagram with no problems at all.
I have a SQL Server 2005 exported DDL file into an ASCII text file. I then import the DDL script into the Server Model Diagram but ERRORs.
I use SQL Server 2005 to import the DDL script and then create an ODBC to connect to the SQL Server. I can then design capture the SQL Server schema into Designer.
What has gone wrong? Does Designer 10g R2 support design capture from SQL Server DDL file directly to Designer?
By the way, if I want to generate MySQL DDL script or design capture MySQL DDL script into Designer, how could this be done as there is no ODBC driver for MySQL?

Hello,
Please see the following links:
http://social.msdn.microsoft.com/Forums/en-US/sqlsetupandupgrade/thread/df35f9f5-9c52-4ec4-8f5a-03a8dbef4352/
http://social.msdn.microsoft.com/forums/en-US/sqlsetupandupgrade/thread/e8e27857-7bb7-46a2-af9b-25e397b37374/
http://ask.sqlservercentral.com/questions/3582/sqlbol-cab-is-corrupt-and-cannot-be-used-in-sql-server-2005
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com

Similar Messages

  • Migrate sql server dump file to Oracle database on a network

    I have a sql server dump file provided to me by DBA's. I have to migrate this dump file to Oracle database on a network. Please suggest me the steps to do this.

    5c1ab566-05d1-4cc9-894a-fd1fe724c752 wrote:
    That would be a text file with around 100 records. I have migrate those records to oracle database. The firewall constraints doesn't allow me to create a link to that database. Will Migration workbench would be apt for this case. How can i capture the database offline in this case ?
    regardless of the tool/technique you use, those bits have to get from machine running sqlserver to the machine running Oracle. Either over the network (through the firewall) or via 'sneakernet.'   What, exactly, are the firewall constraints?
    If the export is a simple text file (character delimited fields?  fixed length fields?) and only 100 records ... Migration Workbench may be overkill,  perhaps a simple sqlldr job.  But you still have to get the bits from 'there' to 'here'.
    ============================================================================
    BTW, it would be really helpful if you would go to your profile and give yourself a recognizable name.  It doesn't have to be your real name, just something that looks like a real name.  Who says my name is really Ed Stevens?  But at least when people see that on a message they have a recognizable identity.  Unlike the system generated name of 'ed0f625b-6857-4956-9b66-da280b7cf3a2', which is like going to the pub with a bag over your head.

  • Calling SQL Server Script File in Hypersonic DB

    HI All,
    I am using Hypersonic Database with java swing.
    To update the database, i am getting SQL Server script file through a webservice.
    The problem is i dont have any idea, how i can update Hypersonic Database with the SQL Server script file.
    Please Help.
    Thanks
    Nitin

    Also I think
    CREATE TABLE table1
    ( tableoneid INT PRIMARY KEY NOT NULL
    , name VARCHAR(255) NOT NULL
    , PRIMARY KEY(tableoneid) );should probably be
    CREATE TABLE table1
    ( tableoneid INT CONSTRAINT table1_pk PRIMARY KEY
    , name VARCHAR(255) NOT NULL );otherwise you specify the primary key twice (and PRIMARY KEY implies NOT NULL so the NOT NULL is redundant).
    Then TABLE2 might need to be something like:
    CREATE TABLE table2
    ( tabletwoid INT NOT NULL
    , tableoneid NOT NULL CONSTRAINT table2_table1_fk REFERENCES table1
    , CONSTRAINT table2_pk PRIMARY KEY(tabletwoid, tableoneid) );although the table-level constraint syntax could be used for the foreign keys if it meant less editing of your scripts. The "CONSTRAINT constraintname" clause of constraints is optional but recommended, as otherwise they will get system-generated names like "SYS_C005157". (Note that if you specify the FK inline as part of the column definition you do not need to include a datatype.)
    If the IDENTITY clause causes a sequential value to be assigned as a default, there is no direct equivalent to that in Oracle. The nearest thing would be a row-level BEFORE INSERT trigger.

  • System Center 2012 R2 install: SQL server Data file and log file

    This might be a dumb question, but I can't find the answer anywhere.  
    I'm installing a new instance of  System Center 2012 R2 on a new server, I'm stuck on the SQL Server data file section.  Everytime I put in a path, it says that tne path does not exist.  I'm I supposed to be creating some sort of SQL Server
    data file and log file before this installation, I didn't get this prompt when installing System Center 2012 SP1 or hen I upgraded from System Center 2012 SP1 to System Center 2012 R2
    My SQL is on a different server
    Thank you in advanced

    Have you reviewed the setup.log?
    On a side note, why would you put the database file on the same drive as the OS? That defeats the whole purpose of having a remote SQL Server. Why use a remote SQL Server in the first place.
    Jason | http://blog.configmgrftw.com

  • SQL Server Agent job fails with error : The package execution returned DTSER_FAILURE (1).

    Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Started: 10:00:01 AM Error: 2014-08-15 10:00:07.20
    Code: 0xC0047062 Source: Data Flow Task LEAN [6761]
    Description: Teradata.Client.Provider.TdException: [Teradata Database] [3006] Logons are disabled.
    at Teradata.Client.Provider.WpMessageManager.CheckForError()
    at Teradata.Client.Provider.WpMessageManager.ProcessResponse()
    at Teradata.Client.Provider.WpLogonManager.Action()
    at Teradata.Client.Provider.WpSession.ManagerAction(WpMessageManager manager, UtlStopwatchWrapper watch, Int32 connectionTimeout)
    at Teradata.Client.Provider.WpSession.Open(Int32 connectionTimeout, String password)
    at Teradata.Client.Provider.WpSession.Open(Int32 connectionTimeout)
    at Teradata.Client.Provider.Connection.Open(UtlConnectionString connectionString, UInt32 timeout)
    at Teradata.Client.Provider.ConnectionPool.CreateConnection(UInt32 timeout)
    at Teradata.Client.Provider.ConnectionPool.GetConnectionFromPool(Object owningObject)
    at Teradata.Client.Provider.ConnectionFactory.GetConnection(Object owningObject, UtlConnectionString connStr)
    at Teradata.Client.Provider.TdConnection.Open()
    at Microsoft.SqlServer.Dts.Runtime.ManagedHelper.GetManagedConnection(String assemblyQualifiedName, String connStr, Object transaction)
    at Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManager100.AcquireConnection(Object pTransaction)
    at Microsoft.SqlServer.Dts.Pipeline.DataReaderSourceAdapter.AcquireConnections(Object transaction)
    at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostAcquireConnections(IDTSManagedComponentWrapper100 wrapper, Object transaction)
    End Error Error: 2014-08-15 10:00:07.35 Code: 0xC0047017 Source: Data Flow Task SSIS.Pipeline
    Description: component "LEAN" (6761) failed validation and returned error code 0x80004005. End Error Error: 2014-08-15 10:00:07.48
    Code: 0xC004700C Source: Data Flow Task SSIS.Pipeline Description: One or more component failed validation.
    End Error Error: 2014-08-15 10:00:07.60 Code: 0xC0024107 Source: Data Flow Task
    Description: There were errors during task validation. End Error
    DTExec: The package execution returned DTSER_FAILURE (1). Started: 10:00:01 AM Finished: 10:00:07 AM
    Elapsed: 6.692 seconds. The package execution failed. The step failed.
    SQL Server agent job fails with above error, Please let me know process tohandle it.
    Thanks,
    Vishal.

    The error message suggests its the issue with Teradata source database to which SSIS tries to connect within the data flow task. Make sure Teradata database is available and LOGON is enabled.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • C# application to execute both oracle and sql server script files.

    Hi All,
    I am suppose to develop an application using c# which can execute oracle script files as well as sql server script files based on some user's choice. 
    Both the script files(oracle/sql server) contains scripts to create tables, create views and create functions.
    What is the best way to do this and which existing c# functions should is use.
    Thanks in advance.

    I am suppose to develop an application using c# which can execute oracle script files as well as sql server script files based on some user's choice. 
    You can use SQL Plus for Oracle. You can have a C# program that issues commands  for  scripts for table, views, triggers  creation and the whole 10 yards to SQL Plus,
    http://docs.oracle.com/cd/B19306_01/server.102/b14357/qstart.htm
    https://www.google.com/#q=sql+plus
    I started writing a program to use SQL Plus to run the scripts, but cI ame to the conclusion that it was a waste of my time.
    A tool called OSM, an Oracle, tool gives a list of script files that need to be run do to a change in a script file based on file timestamp. You can copy the list doing a copy/past operation and drop it into SQL Plus's Command line, and SQL Plus runs the
    scripts.
    For MS SQL Server, you have this, which you can run from a C# program too.
    http://www.webfactory-world.de/wfknowledgebase/wfknowledgebase_wf3.3/Content/AdditionalWindowsSettings/Tutorials/UpdatingSQLDBFromCommandLine.htm
    I would consider using the above from a C# program a waste of time too.
    I look at it this way. If the user doesn't have database admin experience and know how to use DB admin tools, then they have no business doing anything with a database - period.
    BTW, the Invoke statement in VB or C# will run SQL Plus or SQL Server command line tool.

  • How to Open Or read SQL Server log file .ldf

    Hi all,
    How to Open Or read SQL Server log file .ldf
    When ever we create database from sql server, it's create two file. (1) .mdf (2) .ldf.
    I want to see what's available inside the .ldf file.
    Thanks,
    Ashok

    I am not too sure but may be the below two undocumented commands might yield the desired result.
    DBCC Log
    Fn_dblog function
    Refer these links for more info,
    http://www.mssqlcity.com/Articles/Undoc/SQL2000UndocDBCC.htm
    http://blogs.sqlserver.org.au/blogs/greg_linwood/archive/2004/11/27/37.aspx
    http://searchsqlserver.techtarget.com/tip/0,289483,sid87_gci1173464,00.html
    Some 3rd party tools like Log Explorer can do the job for you.
    http://www.lumigent.com/products/le_sql.html
    - Deepak

  • SQL Server Assertion: File: "logmgr.cpp" , line=5512

    Hi All,
    We are using Sql Server 2005 Express , 
    we got the below exception of Sql Server Assertion
    2014-11-17 00:26:12.59 spid51      Error: 17066, Severity: 16, State: 1.
    2014-11-17 00:26:12.59 spid51      SQL Server Assertion: File: <"logmgr.cpp">, line=5512 Failed Assertion = '!(minLSN.m_fSeqNo < lfcb->lfcb_fSeqNo)'. This error may be timing-related. If the error persists after rerunning
    the statement, use DBCC CHECKDB to check the database for structural integrity, or restart the server to ensure in-memory data structures are not corrupted.
    2014-11-17 00:26:12.61 spid51      Error: 3624, Severity: 20, State: 1.
    2014-11-17 00:26:12.61 spid51      A system assertion check has failed. Check the SQL Server error log for details. Typically, an assertion failure is caused by a software bug or data corruption. To check for database corruption, consider running
    DBCC CHECKDB. If you agreed to send dumps to Microsoft during setup, a mini dump will be sent to Microsoft. An update might be available from Microsoft in the latest Service Pack or in a QFE from Technical Support. 
    2014-11-17 00:27:34.81 Server      Using 'dbghelp.dll' version '4.0.5'
    2014-11-17 00:27:34.81 Server      ***Unable to get thread context - no pss
    2014-11-17 00:27:34.81 Server      * *******************************************************************************
    2014-11-17 00:27:34.81 Server      *
    2014-11-17 00:27:34.81 Server      * BEGIN STACK DUMP:
    2014-11-17 00:27:34.81 Server      *   11/17/14 00:27:34 spid 0
    2014-11-17 00:27:34.81 Server      *
    2014-11-17 00:27:34.81 Server      * Non-yielding Scheduler
    2014-11-17 00:27:34.81 Server      *
    2014-11-17 00:27:34.81 Server      * *******************************************************************************
    2014-11-17 00:27:34.81 Server      Stack Signature for the dump is 0x000003E6
    2014-11-17 00:27:35.75 Server      External dump process return code 0x20000001.
    External dump process returned no errors.
    2014-11-17 00:27:35.75 Server      Process 51:0:0 (0x1574) Worker 0x20AA00E8 appears to be non-yielding on Scheduler 0. Thread creation time: 13059477540625. Approx Thread CPU Used: kernel 0 ms, user 0 ms. Process Utilization 0%. System Idle
    99%. Interval: 75000 ms.
    2014-11-17 00:28:35.77 Server      Process 51:0:0 (0x1574) Worker 0x20AA00E8 appears to be non-yielding on Scheduler 0. Thread creation time: 13059477540625. Approx Thread CPU Used: kernel 0 ms, user 0 ms. Process Utilization 0%. System Idle
    98%. Interval: 135953 ms.
    2014-11-17 00:29:35.77 Server      Process 51:0:0 (0x1574) Worker 0x20AA00E8 appears to be non-yielding on Scheduler 0. Thread creation time: 13059477540625. Approx Thread CPU Used: kernel 0 ms, user 0 ms. Process Utilization 0%. System Idle
    98%. Interval: 195953 ms.
    2014-11-17 00:30:35.77 Server      Process 51:0:0 (0x1574) Worker 0x20AA00E8 appears to be non-yielding on Scheduler 0. Thread creation time: 13059477540625. Approx Thread CPU Used: kernel 0 ms, user 0 ms. Process Utilization 0%. System Idle
    98%. Interval: 255953 ms.
    2014-11-17 00:31:35.77 Server      Process 51:0:0 (0x1574) Worker 0x20AA00E8 appears to be non-yielding on Scheduler 0. Thread creation time: 13059477540625. Approx Thread CPU Used: kernel 0 ms, user 0 ms. Process Utilization 0%. System Idle
    98%. Interval: 315953 ms.
    2014-11-17 00:32:35.77 Server      Process 51:0:0 (0x1574) Worker 0x20AA00E8 appears to be non-yielding on Scheduler 0. Thread creation time: 13059477540625. Approx Thread CPU Used: kernel 0 ms, user 0 ms. Process Utilization 0%. System Idle
    98%. Interval: 375953 ms.
    2014-11-17 00:33:35.77 Server      Process 51:0:0 (0x1574) Worker 0x20AA00E8 appears to be non-yielding on Scheduler 0. Thread creation time: 13059477540625. Approx Thread CPU Used: kernel 0 ms, user 0 ms. Process Utilization 0%. System Idle
    98%. Interval: 435953 ms.
    2014-11-17 00:34:35.77 Server      Process 51:0:0 (0x1574) Worker 0x20AA00E8 appears to be non-yielding on Scheduler 0. Thread creation time: 13059477540625. Approx Thread CPU Used: kernel 0 ms, user 0 ms. Process Utilization 0%. System Idle
    98%. Interval: 495953 ms.
    2014-11-17 00:35:05.77 Server      The time stamp counter of CPU on scheduler id 1 is not synchronized with other CPUs.
    2014-11-17 00:35:35.77 Server      Process 51:0:0 (0x1574) Worker 0x20AA00E8 appears to be non-yielding on Scheduler 0. Thread creation time: 13059477540625. Approx Thread CPU Used: kernel 0 ms, user 0 ms. Process Utilization 0%. System Idle
    98%. Interval: 555953 ms.
    2014-11-17 00:36:35.77 Server      Process 51:0:0 (0x1574) Worker 0x20AA00E8 appears to be non-yielding on Scheduler 0. Thread creation time: 13059477540625. Approx Thread CPU Used: kernel 0 ms, user 0 ms. Process Utilization 0%. System Idle
    97%. Interval: 615953 ms.
    2014-11-17 00:37:35.77 Server      Process 51:0:0 (0x1574) Worker 0x20AA00E8 appears to be non-yielding on Scheduler 0. Thread creation time: 13059477540625. Approx Thread CPU Used: kernel 0 ms, user 0 ms. Process Utilization 0%. System Idle
    98%. Interval: 675953 ms.

    Assertion error are usually some corruption in SQL Server database. And non yielding scheduler seems like bug what is output of
    select @@Version
    Did you tried running dbcc checkdb on SQL Server 2005 database
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • Error converting SQL Server DDL and views to Oracle

    I am trying to convert SQL Serve 2008 on windows to Oracle 11g using SQL Developer 3.2.20.09. I am using the jtds-1.2.7 drivers to connect to SQL Server.
    I have made several attempts to run the conversion and am getting the tables, indexes, and triggers converted with no issue. However, my Procedures and views are not coming across. All of them are giving similar errors as:
    "Failed To Convert Stored Procedure get_compvision > esp3.dbo.get_compvision:unexpected end of subtree: Line 0 Column 0"
    When I log into the source SQL Server environment using SQL Developer, I get an empty SQL Editor window with "null" when I try to {right-click -> "Open"} on the Procedure.
    Logging into SQL Server Administrator as the same user I can see the source code, so the issue appears to be related to SQL Developer and not my user privleges. I am a dbo alias in SQL Server.
    In addition, if I click on a view, I can see the data and metadata, but not the SQL that defines the view. I see tabs for column, data, triggers, and details.
    In addition, if I go to the "capture" for my Migration project and drill down to procedures, I can see them listed, but each and every procedure gives me a "/* DDL not accesible */" error. I get teh same results for views, triggers and indexes.
    Can someone help me? I have been googling for days!
    Edited by: user4714217 on Jan 24, 2013 12:54 PM

    SELECT v.vnd_c, CASE v.use_parent_addr_flg WHEN 0 THEN a.str_1 ELSE pa.str_1 END AS str_1,
    CASE v.use_parent_addr_flg WHEN 0 THEN a.str_2 ELSE pa.str_2 END AS str_2,
    CASE v.use_parent_addr_flg WHEN 0 THEN a.str_3 ELSE pa.str_3 END AS str_3,
    CASE v.use_parent_addr_flg WHEN 0 THEN a.city ELSE pa.city END AS city,
    CASE v.use_parent_addr_flg WHEN 0 THEN a.state ELSE pa.state END AS state,
    CASE v.use_parent_addr_flg WHEN 0 THEN a.zipcode ELSE pa.zipcode END AS zipcode,
    CAST((CASE v.use_parent_addr_flg WHEN 0 THEN (CASE a.foreign_flg WHEN 1 THEN 'Y' ELSE 'N' END)
    ELSE (CASE pa.foreign_flg WHEN 1 THEN 'Y' ELSE 'N' END) END) AS char(1)) AS foreign_flg,
    CASE v.use_parent_addr_flg WHEN 0 THEN a.country ELSE pa.country END AS country,
    CASE v.use_parent_addr_flg WHEN 0 THEN a.cre_d ELSE pa.cre_d END AS cre_d,
    CASE v.use_parent_addr_flg WHEN 0 THEN a.mod_d ELSE pa.mod_d END AS mod_d,
    CASE v.use_parent_addr_flg WHEN 0 THEN a.mod_by ELSE pa.mod_by END AS mod_by
    FROM dbo.om_vendor AS v LEFT OUTER JOIN
    dbo.om_address AS a ON a.vnd_id = v.vnd_id AND a.addr_c = 1 INNER JOIN
    dbo.om_owner AS o ON v.owr_id = o.owr_id INNER JOIN
    dbo.om_address AS pa INNER JOIN
    dbo.primary_vendors AS pv ON pa.vnd_id = pv.vnd_id ON o.part_id = pv.part_id
    WHERE (pa.addr_c = 1)
    WHICH TRANSLATES TO
    SELECT v.vnd_c ,
    CASE v.use_parent_addr_flg
    WHEN 0 THEN a.str_1
    ELSE pa.str_1
    END str_1 ,
    CASE v.use_parent_addr_flg
    WHEN 0 THEN a.str_2
    ELSE pa.str_2
    END str_2 ,
    CASE v.use_parent_addr_flg
    WHEN 0 THEN a.str_3
    ELSE pa.str_3
    END str_3 ,
    CASE v.use_parent_addr_flg
    WHEN 0 THEN a.city
    ELSE pa.city
    END city ,
    CASE v.use_parent_addr_flg
    WHEN 0 THEN a.STATE
    ELSE pa.STATE
    END STATE ,
    CASE v.use_parent_addr_flg
    WHEN 0 THEN a.zipcode
    ELSE pa.zipcode
    END zipcode ,
    (CASE v.use_parent_addr_flg
    WHEN 0 THEN (CASE a.foreign_flg
    WHEN 1 THEN 'Y'
    ELSE 'N'
    END)
    ELSE (CASE pa.foreign_flg
    WHEN 1 THEN 'Y'
    ELSE 'N'
    END)
    END) foreign_flg ,
    CASE v.use_parent_addr_flg
    WHEN 0 THEN a.country
    ELSE pa.country
    END country ,
    CASE v.use_parent_addr_flg
    WHEN 0 THEN a.cre_d
    ELSE pa.cre_d
    END cre_d ,
    CASE v.use_parent_addr_flg
    WHEN 0 THEN a.mod_d
    ELSE pa.mod_d
    END mod_d ,
    CASE v.use_parent_addr_flg
    WHEN 0 THEN a.mod_by
    ELSE pa.mod_by
    END mod_by
    FROM om_vendor v
    LEFT JOIN om_address a
    ON a.vnd_id = v.vnd_id
    AND a.addr_c = 1
    JOIN om_owner o
    ON v.owr_id = o.owr_id
    JOIN om_address pa
    JOIN primary_vendors pv
    ON pa.vnd_id = pv.vnd_id
    ON o.part_id = pv.part_id
    WHERE ( pa.addr_c = 1 );
    Edited by: user4714217 on Jan 24, 2013 1:43 PM

  • GoldenGate Downstream Integrated capture from SQL Server 2012 as source

    Hi,
    Previously, I had done OGG integrated capture from downstream mining database. In that case SourceDB, Downstream MiningDB and TargetDB, all databases were Oracle.
    MiningDB was in sync with source for log shipping and OGG extract was hooked with MiningDB to capture changes and apply on targetDB by replicat.
    This time, I am looking for similar solution for SourceDB as MS SQL Server 2012. Exploring my options as I am not allowed to let OGG extract directly capture from source database.
    I have to come up with a solution where source database can ship logs to another location (miningDB) and let OGG extract capture from there.
    What could be my options ??? Appreciate your suggestions???
    Thanks
    Neetu

    Hi,
    You can move post to Golden Gate forum and also add following more information: 
    I see you are using Integrated it means the version is either 11 or higher.
    1, Add GG version   11/12 ?
    2. Add Oracle DB Version 10/11/12
    In Oracle downstream, basically you ship the archive logs to the downstream server but have you thought how is the transnational logs handled in SQL Server ?
    HTH,
    Pradeep

  • Change Data Capture in SQL Server

    Post Author: rtamanji
    CA Forum: Data Integration
    I am having primary key constraint problems whenever there is a failure during the data flow from the source to the target, and I have to restart the process. It looks like check points only occurs if the data flows completely ends. How often are these check points initiated ? The AL table keeps track of this value, is there a similarly table to determine the last record read ? Or does DI reads the entire Repcmd table using the last xact_seqno stored ? Thanks for any information.

    It is not using triggers. The source is the transaction log.
    Related link:
    Basics of Change Data Capture
    ...The source of change data for change data capture is the SQL Server transaction log. As inserts, updates, and deletes are applied to tracked source tables, entries that describe those
    changes are added to the log. The log serves as input to the change data capture capture process. This reads the log and adds information about changes to the tracked table’s associated change table. Functions are provided to enumerate
    the changes that appear in the change tables over a specified range, returning the information in the form of a filtered result set. The filtered result set is typically used by an application process to update a representation of the source in some external
    environment. ...
    Kalman Toth, SQL Server & Business Intelligence Training; SQL Server 2008 Training

  • How to design SQL server data file and log file growth

    how to design SQL DB data file and log file growth- SQL server 2012
    if my data file is having 10 GB sizze and log file is having 5 GB size
    what should be the size in MB (not in %) of autogrowth. based on what we have to determine the ideal size of file auto growth.

    It's very difficult to give a definitive answer on this. Best principal is to size your database correctly in advance so that you never have to autogrow, of course in reality that isn't always practical.
    The setting you use is really dictated by the expected growth in your files. Given that the size is relatively small why not set it to 1gb on the datafile(s) and 512mb on the log file? The important thing is to monitor it on an on-going basis to see if that's
    the appropriate amount.
    One thing you should do is enable instant file initialization by granting the service account Perform Volume Maintenance tasks in group policy. This will allow the data files to grow quickly when required, details here:
    https://technet.microsoft.com/en-us/library/ms175935%28v=sql.105%29.aspx?f=255&MSPPError=-2147217396
    Also, it possible to query the default trace to find autogrowth events, if you wanted you could write an alert/sql job based on this 
    SELECT
    [DatabaseName],
    [FileName],
    [SPID],
    [Duration],
    [StartTime],
    [EndTime],
    CASE [EventClass]
    WHEN 92 THEN 'Data'
    WHEN 93 THEN 'Log' END
    FROM sys.fn_trace_gettable('c:\path\to\trace.trc', DEFAULT)
    WHERE
    EventClass IN (92,93)
    hope that helps

  • Capture Microsoft SQL Server - does nothing?

    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    PL/SQL Release 11.1.0.7.0 - Production
    CORE     11.1.0.7.0     Production
    TNS for 64-bit Windows: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 - Production
    Oracle SQL Developer 2.1.9.63 - moved to this latest version as had the same issue with 1.5.5.
    SQL SERVER 2008
    ===
    I am trying to migrate my SQL SERVER database to Oracle.
    Am following the steps from here:
    http://www.oracle.com/technology/tech/migration/workbench/files/omwb_getstarted.html
    Problem is that when I right click on my SQLSERVER connection and do Capture nothing happens - no progress dialog (what should happen), no error message, nothing.
    I think 1.5.5 had a problem with SQLSERVER 2008 but 2.1.9 ?.
    Any help would be much appreciated.
    regards,
    Andy

    Hi,
    SQL DEVELOPER does not support SQL SERVER 2008.
    This is due to the sourceforge JDBC driver which is limited until SQL SERVER 2005 version.
    See this webpage:
    http://www.oracle.com/technology/products/database/sql_developer/files/supportedmigplatforms.html
    Regards,
    Mireille

  • Data modeling tool to design a dwh - SQL Server 2008 R2-2012

    Hi,
    I need to know if it exists a Microsoft tool to model the data structures of a data warehouse. I generally use the SQL Server diagrams but I'd like to know an enhanced tool. Visio?
    Thanks

    Hi,
    You could download a 60 day free trial of Visio; -
    http://office.microsoft.com/en-gb/visio/visio-professional-2013-free-trial-flowchart-software-FX103791368.aspx
    Have a look at a related link; -
    http://social.technet.microsoft.com/Forums/sqlserver/en-US/620009b1-9625-4e1f-8574-f4049718ffe2/shapestemplates-bi-for-visio
    Kind Regards,
    Kieran.
    Kieran Patrick Wood http://www.innovativebusinessintelligence.com http://uk.linkedin.com/in/kieranpatrickwood http://kieranwood.wordpress.com/

  • Connecting to a local SQL server .mdf file

    Hi all,
    In doing some prototyping of my database I started working with a local copy of an SQL Server database since it so conveniently integrated with the Visual Studio .NET tools I use. Now that I have spent far too much time working on a local prototype, I would very much like to migrate it to our in-house database rather than rewrite the whole thing (it is quite large in terms of tables and constraints and none of our in-house tools generate code from ER diagrams).
    Seeing that SQL Developer had a migration utility I pounced at a chance to use it. I installed it as well as the recommended JDBC driver; however, it occurs to me that I have no idea how to connect to a local database file using the host name and port fields given to me. Is there some convenient way to configure SQL Server 2005 to forward this file to some kind of local host? Or is there any other driver for use with a local .mdf file? Help would be greatly appreciated.

    While it does come with a copy of SQL Server with it, visual studio suspiciously just asks for a file name, so I would assume it reads directly from the .mdf
    I have a copy of SQL Server 05 on the machine, but I haven't done anything in the way of server side configuration before, so I can't even guess how to direct it to serve the file.
    All software packages involved are:
    Windows XP
    SQL Server 2005
    Visual Studio .NET 2005
    SQL Developer 1.5.1
    Oracle client 10g connecting to an Oracle 9i release 2 server
    Any pointers to the right direction or alternate migration solutions would be great.
    Edit: I am highly suspicious that Visual Studio was connecting to this file through SQL Server Express and not my standard edition copy, and it is therefore not attached to the database, the solution is not looking entirely easy, so an alternate migration may be a better choice. Thanks in advance for any help.
    Edit: Well my suspicions were confirmed. I attempted several solutions. First of which being the MS SQL Express publishing wizard so that I could publish to SQL and run the script via Toad or SQL Plus; however, it only targets MS SQL Server 2000 or 2005 which would result in a lot of hand editing in terms of migration. Attempting to find a script converter did not help as they all either failed outright or demanded a connection to the datbase via ODBC or JDBC (which doesn't support SQL Express' less than clever attach on connection ideas). This led me to the alternate solution of trying to attach the file to my main database and connect to it; however, the SQL Server command prompt has some sort of permissions issue with my office security setting (though I can edit files fine) and results in failure.
    I think it is about time to throw in the towel and just work it out by hand. This would be greatly expedited by any visual database tools that generate code from ER diagrams if you happen to know of a freeware solution. We lack an internal copy of Oracle Designer and the free license only permits a single prototype. So any suggestions on the front of freebie visual object relational tools and alternate migration ideas would be of great help. Until then I'll be grinding through it with moderate dissatisfaction.
    Thanks again.

Maybe you are looking for

  • Preview on [device name] option not available

    Preview on [device name] option not available on Folio Overlays

  • Demand on VC material not visible in SNP planning book

    Hi Experts, Is there any way to plan VC (Variant Configuration ) materials in SNP at the group level ? I will explain the scenario more in details below I have an VC material say X. Material X has end product Y attached to it (material variant). When

  • Limit dorpdown box values

    Dear Community, In my web-template I m using a dropdown box which becomes its values from a charactersitcs values variable, however i do want to reduce the number of values that appears in it,  for example in my dropdown box appears about 10 characte

  • IChat AV can't audio chat with Google Talk

    I'm using iChat AV 3, and I have enabled my Google Jabber account. My friend is on a PC, and has Google talk. We can IM, but we both can't start a voice chat. Is there anything we must do to enable voice chats? We both can talk on skype fine, and we

  • Set timer on iTunes iPad?

    No sleep timer?  No apple clock like iPhone. Unless I'm missing something?0