Migrating an old website to MS SQL 2005 from MS Access

There is one query I have that's giving me the "Maximum length is 128" error. My research mostly referred to single or double quotes or a stored proceedure in the db but that's not the case. I'm hoping that someone with see the obvious problem with the query while I look for a better SQL referenece for the 2005 server as I'm used to working with MySql.
<cfquery datasource="#dsn#" username="#dsnusername#" password="#dsnpassword#" name="GetProperties">
                SELECT     P.Property_ID, P.Display_Order, P.Property_Title_File, P.Manager_ID, P.Property_Name,
                                P.Address, P.City, P.State, P.ZIP_Code, P.Medium_Pic_File, P.Medium_Pic_Height,
                                P.Medium_Pic_Width, P.Leasing_Office_ID, NRV.NotRented
                FROM         Properties AS P
                                LEFT JOIN [
                                    SELECT   A.Property_ID, count(Currently_Rented) AS NotRented
                  FROM     Apartments A
                  WHERE    Currently_Rented = No
                  GROUP BY A.Property_ID
                  ]. AS NRV ON P.Property_ID = NRV.Property_ID
                ORDER BY P.Display_Order, NRV.NotRented Desc, P.Property_Name, P.ZIP_Code
            </cfquery>
The error starts with the left join select....
Thanks!
David

use normal parentheses for your subquery and don't put a period after the closing one.

Similar Messages

  • Upgrading sql 2005 from sp to sp 3

    hi all
    i have a question. i need to upgrade my sql 2005 from sp 2 to sp 3 on my live environment because windows7 needs sp3. would there be any issues if i upgrade to sp3?
    i just download sp3 into my server and run it?
    thanks!
    prem

    Hi Prem,
    Windows7 is not officially supported yet.  If you have issue, it must be related to windows7.  SP3 should not be an issue.
    Thanks,
    Gordon

  • HOW TO INSERT DATA INTO SQL SERVER FROM MS ACCESS TABLE??

    NEED TO INSERT DATA INTO SQL SERVER FROM MS ACCESS TABLE.

    this is another method
    http://www.mssqltips.com/sqlservertip/2484/import-data-from-microsoft-access-to-sql-server/
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Migrate SQL 2005 from windows 2005 server to Windows 2008 R2 server

    Hi all,
    I need to move our SQL 2005 on a windows 2003 server to a new server with Windows 2008 R2 installed.  Could someone show me what are the necessary steps I need to do?
    Thank you.

    Hey TR,
    As per Microsoft recommendation, Before Installing new server try to run Upgrade Advisor and follow these steps
    1. Take Full backups of all System and Application databases on your 2005 machine.
    2. Script all logins  -- 
    3. Script all jobs 
    4. List out all Maintenance plans and their schedules -- You cant migrate so you have to create them manually
    5. List out all Linked server(s) currently being used.
    6. Check the service pack
    7. Check the Edition
    8. document the existing server settings so that it should match the same (collation,version,...)
    Migration process
    1. Migrate logins
    2. Restore all App databases
    3. Fix the orphan users
    4. create the jobs
    5. create maintenance plans
    6. create Linked Servers 
    7. perform checkdb on all databases
    8. rebuild indexes 
    9. update the statistics 
    10.move all the DTS / SSIS packages 
    11. Point the application to new server 
    12. Testing ....  Change all the application connection string to new server and then start the testing then finally if everything looks good then you can down the sql 2000 server and start using new server.
    LIKE THIS POST, PLEASE VOTE & MARK AS A ANSWER TO HELP OTHERS
    DBA

  • Connecting to SQL 2005 from Oracle error

    I have an Oracle Database and SQL Database on the same server and wants to use odbc to connect to the SQL 2005 database and query tables of my choice.
    I did configured the ODBC correctly and called the DSN TSH_ARCHIVE. I have tested it and it works great. But each time I run the following query I get error:
    SQL> select count(*) from BALANCES_HS@tse_archive;
    select count(*) from BALANCES_HS@tse_archive
    ERROR at line 1:
    ORA-12154: TNS:could not resolve the connect identifier specified
    Any suggestion and help will be greatly appreciated.
    Edited by: azaza on Jan 28, 2010 6:32 AM

    Hi,
    Thanks for the files.
    There are some problems with the configuration.
    listener.ora -
    LISTENERTSE_ARCHIVE =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST = xxxxx.ita.doc.gov)(PORT=1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=TSE_ARCHIVE)
    (ORACLE_HOME=J:\app\product\11.1.0\db_2)
    (PROGRAM=hsodbc)
    (SID_DESC=
    (SID_NAME=tpisdb06)
    (ORACLE_HOME=J:\app\product\11.1.0\db_2)
    This should be -
    LISTENERTSE_ARCHIVE =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST = xxxxx.ita.doc.gov)(PORT=1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    SID_LIST_LISTENERTSE_ARCHIVE =
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=TSE_ARCHIVE)
    (ORACLE_HOME=J:\app\product\11.1.0\db_2)
    (PROGRAM=dg4odbc)
    (SID_DESC=
    (SID_NAME=tpisdb06)
    (ORACLE_HOME=J:\app\product\11.1.0\db_2)
    The SID_LIST_LISTENER needs to match the actual listener name and the program for 11g DG4ODBC is called dg4odbc and not hsodbc.
    tnsnames.ora -
    TSE_ARCHIVE =
    (DESCRIPTION=
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = TSE_ARCHIVE)(PORT=1521))
    (CONNECT_DATA =
    (SERVICE_NAME = TSE_ARCHIVE)
    (HS=OK)
    The HOST name - TSE_ARCHIVE does not match the HOST in the listener, so it should be -
    TSE_ARCHIVE =
    (DESCRIPTION=
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxxxx.ita.doc.gov)(PORT=1521))
    (CONNECT_DATA =
    (SERVICE_NAME = TSE_ARCHIVE)
    (HS=OK)
    I've changed the actual name to xxxxx so replace that with the name in the original file.
    Change the files, stop and start the listener then try again.
    If you still have an ora-12154 error then send the output from the following SQL -
    select db_link, host from user_db_links; <=== as the user getting the error
    and
    select db_link, host from dba_db_links; <===== as a DBA user
    Regards,
    Mike

  • Unable to establish connection to MS SQL 2005 from topology manager in ODI

    Hi,
    My environment:
    WinXP pro SP3, MS SQL SERVER2005, Oracle data integrator latest version.
    MS SQL 2005 JDBC 2.0 DRIVER, JRE 1.4.2
    com.microsoft.sqlserver.jdbc.SQLServerDriver
    jdbc:microsoft:sqlserver://testserver:1433;SelectMethod=cursor;databaseName=AdventureWorksDW;integratedSecurity=false
    I set the classpath, odi_home path and path poiting to jdbc driver in odi home->drivers and to odi->jre->1.4.2
    Before i begin, i would like to mention, i have gone through many forum topicson this one and made sure my string is all right.
    When I try to create a new data server in topology manager, it says connection is successful, but after that when i try to click OK, it gives me a error:
    java.lang.UnsupportedClassVersionError: com/microsoft/sqlserver/jdbc/SQLServerDriver (Unsupported major.minor version 49.0)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at com.sunopsis.sql.SnpsConnection.a(SnpsConnection.java)
         at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java)
         at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java)
         at com.sunopsis.graphical.frame.b.jz.dP(jz.java)
         at com.sunopsis.graphical.frame.b.jz.bD(jz.java)
         at com.sunopsis.graphical.frame.bo.bz(bo.java)
         at com.sunopsis.graphical.frame.b.jz.em(jz.java)
         at com.sunopsis.graphical.frame.b.jz.<init>(jz.java)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at com.sunopsis.graphical.frame.bb.b(bb.java)
         at com.sunopsis.graphical.tools.utils.swingworker.v.call(v.java)
         at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
         at com.sunopsis.graphical.tools.utils.swingworker.l.run(l.java)
         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
         at java.lang.Thread.run(Unknown Source)
    Someone please help me.
    Thank you.
    Edited by: user9946607 on Feb 7, 2010 7:20 AM
    Edited by: user9946607 on Feb 7, 2010 7:21 AM

    Hi John,
    Thank you for your reply. The link was good, but it did not solve my problem.
    The artcile you provided me, lead me to another one: http://msdn.microsoft.com/en-us/library/ms378422.aspx
    I download JRE 1.5.
    Based on these, I have JDBC 2.0 (sqljdbc and sqljdbc4.0) files.
    I copy only sqljdbc to my classpath = C:\OraHome_1\oracledi\drivers\sqljdbc.jar
    my ODI_JAVA_HOME = C:\OraHome_1\jre\jre1.5.0_11
    Same error in topology manager.
    Data server name: test.ahu.edu, 1444
    Conntection string:
    com.microsoft.sqlserver.jdbc.SQLServerDriver
    jdbc:microsoft:sqlserver://test.ahu.edu:1444;SelectMethod=cursor;databaseName=AdventureWorksDW;integratedSecurity=false
    I am not sure show the share screen shots here, but if there is a way, please let me know, I can upload the screen shots.
    Please help me.
    java.sql.SQLException: No suitable driver
         at java.sql.DriverManager.getDriver(Unknown Source)
         at com.sunopsis.sql.SnpsConnection.u(SnpsConnection.java)
         at com.sunopsis.sql.SnpsConnection.a(SnpsConnection.java)
         at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java)
         at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java)
         at com.sunopsis.graphical.l.pm.o(pm.java)
         at com.sunopsis.graphical.l.pm.r(pm.java)
         at com.sunopsis.graphical.l.pm.g(pm.java)
         at com.sunopsis.graphical.l.pm.a(pm.java)
         at com.sunopsis.graphical.l.pm.a(pm.java)
         at com.sunopsis.graphical.l.iz.actionPerformed(iz.java)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.Dialog$1.run(Unknown Source)
         at java.awt.Dialog$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Dialog.show(Unknown Source)
         at java.awt.Component.show(Unknown Source)
         at java.awt.Component.setVisible(Unknown Source)
         at com.sunopsis.graphical.l.pm.q(pm.java)
         at com.sunopsis.graphical.l.pm.<init>(pm.java)
         at com.sunopsis.graphical.frame.b.jh.bx(jh.java)
         at com.sunopsis.graphical.frame.bo.w(bo.java)
         at com.sunopsis.graphical.frame.bo.d(bo.java)
         at com.sunopsis.graphical.frame.w.actionPerformed(w.java)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Thank you.

  • Upgrading to SQL 2005 from 2000?

    I have a very large database in 2000 and I'm thinking of
    requesting that
    it be moved to 2005. I've heard that 2005 is faster and I've
    seen the
    interface for it and it looks like it combines Query analyzer
    with the
    standard interface tools. Enterprise Manager is just so
    limited and clunky.
    Do you think I'd run into problems with my site if I had them
    update to
    a new SQL database? Any pitfalls? Warnings? What should I
    look out for?
    Is it worth it for the new security and interface features?
    Thanks

    I would say wait a short while longer and upgrade to SQL
    Server 2008. It
    seems pointless going through the upgrade now when the next
    version is
    already on our doorstep.
    A word of warning. There is no downgrade option once you have
    upgraded so
    run the built in Upgrade Advisor before you do anything (if
    you have that
    option) and also check that all your T-SQL code is ANSI
    compliant as
    non-ANSI compliant code will not work in SQL 2005 or 2008.
    See:
    http://www.sql-server-performance.com/faq/query_uses_nonansi_outerjoin_p1.aspx
    for more info.
    Also, remember that you will not have the option of
    scheduling any DTS
    packages from 2000 as these will need to be re-built as SSIS
    packages if you
    want them to run them as Jobs, although you can still execute
    them manually
    (if that is a feasible option) with the assistance of the DTS
    add-on that is
    a free download from Microsoft.
    Just be very careful that all is in place before you upgrade
    and make sure
    you take a full database backup before you upgrade (including
    system DB's)
    in case you need to re-install 2000 and rebuild the
    databases.
    Pat
    "Philo" <[email protected]> wrote in message
    news:fr3n35$dsq$[email protected]..
    >I use Fluid Hosting and when they changed from 2000 to
    2005 I saw no
    > differences. I would check the lit on what is new and
    more important
    > what changed from prior version and determine if any of
    it applies to
    > your applicaiton.
    >
    > Art wrote:
    >
    >> I have a very large database in 2000 and I'm
    thinking of requesting
    >> that it be moved to 2005. I've heard that 2005 is
    faster and I've
    >> seen the interface for it and it looks like it
    combines Query
    >> analyzer with the standard interface tools.
    Enterprise Manager is
    >> just so limited and clunky.
    >>
    >> Do you think I'd run into problems with my site if I
    had them update
    >> to a new SQL database? Any pitfalls? Warnings? What
    should I look out
    >> for?
    >>
    >> Is it worth it for the new security and interface
    features?
    >>
    >> Thanks
    >
    >
    >
    > --
    >

  • Restoration at sql 2005 from sql 2000 backup.

    Hi experts,
    Is it possible to restore a backup taken from sql 2000 database to sql 2005 database?
    And how about attaching datafiles of sql2000 into sql 2005 server?
    Thanks and Regards,
    Amit Jana.

    > Is it possible to restore a backup taken from sql 2000 database to sql 2005 database?
    Yes its possible.
    > And how about attaching datafiles of sql2000 into sql 2005 server?
    Same method of attach/deattach.
    But recommanded you first install 2000 instance restore database and do inplace sql 2005 upgrade.
    Why you can't follow recommanded mothed ?
    Regards,
    Nikunj Thaker

  • Transferring 3 SQL databases from both SQL Express 2005 and Standard to a new physical server

    I am trying to figure out the best method for transferring SQL 2005 databases from 2 different physical servers to a new server running windows server 2008 64bit.
    I own a fully registered copy of Microsoft SQL 2005 32bit Standard Edition. However all of my SQL databases together are only 4GB in size thereby making 2008 SQL Express an option.
    Here is the breakdown of the servers:
    1) (Old Server1) Windows 2003 Server 32bit - SQL Express 2005 32bit
    2) (Old Server2) Windows 2003 Server 32bit - SQL Server 2005 32bit Standard
    3) (New Server) Windows 2008 Server 64bit - (Not sure which version to install)
    **The objective is to migrate 2 SQL databases from Old Server1 and 1 SQL database from Old Server 2 to the New Server. What version should I install on the new server??? Do I go with 2008 express or install the 2005 Standard Edition?
    Pending your response to which version to install, what are the correct steps to migrate (which I have never done before) the databases from both of these servers to the new server?
    I have researched this online and I think this particular situation is unique in that I am transferring from both SQL Express and Standard from 2 different physical servers to a 2008 server that is 64bit. I cannot find anything online that I feel confident
    in trying. Please help me, as I have this migration deadline of this weekend. Any help is appreciated. Thanks.

    Hello,
    You may choose between using backup/restore or using detach/attach methods to migrate the databases.
    https://msdn.microsoft.com/en-us/library/ms187858(v=sql.90).aspx
    You can transfer logins using the following article.
    http://support.microsoft.com/en-us/kb/918992
    To decide if you migrate to Express Edition or to another edition, please review the features supported by each edition. For instance, Express Edition does not support jobs (SQL Server Agent is not available).
    https://msdn.microsoft.com/en-us/library/cc645993(v=sql.100).aspx
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • SQL 2005 and ODI

    Dear all,
    I've tried to reserved tables from my SQL 2005 from my designer..But there some strange problem which is the tables can not be reserved. Is there any setting that i was missed..??
    Thanks.
    Rgds,
    Vien

    Thanks guys for trying to help
    Previously, I used to see this error
    com.sunopsis.sql.c: com.microsoft.sqlserver.jdbc.SQLServerDriver
    and so I downloaded the driver and installed it on /orahome_1/oracledi/drivers directory.
    Once I installed the driver, I am getting
    7000 : null : com.sunopsis.sql.l: Oracle Data Integrator Timeout: connection with URL
    So, I am thinking the agent is recognizing the driver but still not able to connect.
    CTS, If you are saying whether I tested the connection using the agent. Yes, I did and it is resulting in the same error.
    Can you please elaborate if you suggest trying something else.

  • Changing the default port 1433 in SQL 2005 on an ECC 6.0 system

    Hello everybody,
    There is a requirement to change the default port of MS SQL 2005 from 1433 to a different port.
    I am using SAP ECC 6.0 running on an ABAP stack. I would like to know what changes need to be done from the SAP end to achieve it.  Any pointers in this regard would be helpful.
    Regards
    Dinesh K

    <b>Sizing</b>
    Hardware sizing should be completed by your SAP partner. Its based on many things. Users, modules, storage volumes, peek, BP, workloads etc etc.
    You can do the 'noddy' version with the sapsize on OSS. The output from this is in 'SAPs' you could look up std systems bench marks and get something 'like' it. Else submit the results to the hardware vendor of your choice and they will do it for you.
    <b>System Redundancy</b>
    Depends what you are trying to do.
    MSCS is a fail over HARDWARE only solution. ie if you want to patch or take a node out of service you can by 'failing over' the services on it to the other node. If you get a DB problem MSCS can not help you at all.
    Log shipping gives you 'rapid' recovery options for SQL(and there in SAP). The way this normally works is via either manual or automatic log-shipping to a 'standby' system with SQL/SAP loaded on it that can be brought online if you get a problem with the main system.
    A well planned system will have fail-over and recovery capabilities, ie it will use BOTH.

  • Installing sql 2005 64 bits

    Hello,
    I download the sql 2005 from www.service.sap.com/sbo-swcenter but how can I do to install the sql on 64 bits? Do I need to run a special command?
    Thanks in advance for your help
    Graciella

    Hi Graciella,
    Have you read through the documents came along with the download?
    Thanks,
    Gordon

  • SQL 2005 x64 poor performance after migration from SQL 2005 x86

    Recently We've migrated SQL 2005 x86 SP1 Enterprise running on Windows 2003 Enterprise to new hardware where is running Windows 2008 SP2 and SQL 2005 x64 SP4 with CU3.
    In the work day, there are sometime SQL excpetions like this below. On other hand i can also tell that we already found some queries which has some inner joins and where clauses on nvarchar fileds, because of the nature of application. Such a query
    is running for about 11 seconds on old SQL server, and about 6 minutes on new SQL server. My main question if is this possible just with a change to new architecture of SQL and more last patches and updates for SQL 2005. Is there any way how to get
    this queries running faster, without rewritng them with new ones? Is this also possible this could be also cause for SQL exceptions, which we are facing on SQL server?
    About new hardware, for now we can't find it something wrong. There is basic configuration:
    Cisco UCS  C220 M3S (1U server)
    32GB RAM
    Intel(R)Xeon® CPU [email protected], 6 core
    Disk system: 4xSAS 300GB in RAID5 (OS and DATA) and 2xSATA 1TB in RAID1 (SQL backup)
    RAID controller: LSI MegaRAID SAS 9271-8i (with latest driver and firmware)
    Part of log of dump file:
    2014-05-09 08:30:07.08 spid86      Error: 17311, Severity: 16, State: 1.
    2014-05-09 08:30:07.08 spid86      SQL Server is terminating because of fatal exception c0000264. This error may be caused by an unhandled Win32 or C++ exception, or by an access violation encountered during exception handling.
    Check the SQL error log for any related stack dumps or messages. This exception forces SQL Server to shutdown. To recover from this error, restart the server (unless SQLAgent is configured to auto restart).
    2014-05-09 08:30:07.08 spid86      Using 'dbghelp.dll' version '4.0.5'
    2014-05-09 08:30:07.08 spid86      **Dump thread - spid = 86, PSS = 0x0000000132A67ED0, EC = 0x0000000132A67EE0
    2014-05-09 08:30:07.08 spid86      ***Stack Dump being sent to D:\MSSQL.1\MSSQL\LOG\SQLDump0087.txt
    2014-05-09 08:30:07.08 spid86      * *******************************************************************************
    2014-05-09 08:30:07.08 spid86      *
    Thanks for any help,
    Matjaž

    >Is there any way how to get this queries running faster, without rewriting them with new ones?
    You need to perform basic performance tuning steps in the new environment.
    Software optimization:
    http://www.sqlusa.com/articles/query-optimization/
    Disk optimization:
    http://www.sqlusa.com/bestpractices/configureharddisk/
    Memory optimization:
    http://www.sqlusa.com/bestpractices/memory-configuration/
    REBUILD INDEXES, eliminate missing indexes & UPDATE STATISTICS.
    If there is still a problem, look in Activity Monitor for expensive queries. Optimize them. As a general rule, you don't want to have expensive queries in RDBMS.
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Design & Programming
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • SQL 2005 to Oracle 10g migration

    We are migrating from SQL 2005 on Windows to Oracle 10g on Linux. If any one has experience with this kind of migration please share the steps involved.
    Also is it possible to migrate subset of data from SQL to Oracle or is migrating entire data/schema the only option?
    Any help or direction in this is much appreciated.Thanks in advance

    Hi spulyala,
    There is no clear and simple way of doing this.
    -The online data move migrates from one java connection/table to another java connection/table so you would need to have the source table already filtered.
    -The offline data move dumps the information out of SQL Server one table at a time, a where clause may be able to be applied manually at this stage, and loads the data in using Oracle sqlldr.
    Of course you can filter and manipulate the tables within SQLServer before migration, within Oracle after migration, and delete table representations from with the tool.
    -Turloch

  • How can i make iphone mobile website,  database in Sql Server 2005 ?

    how can i make iphone mobile website,  database in Sql Server 2005 ?
    Thanks & Regards
    Jamshed Ali
    Email id: [email protected]

    You need to be a little clearer in what you're asking.
    You can't make any web site in SQL Server - it's a database engine, not a website tool.
    What you can do is create web sites that pull data from a back-end SQL Server, but the SQL server doesn't handle the client connection at all (that's handled by a web server such as Apache, IIS, or similar).
    There are many ways to build such a site including .NET, PHP, Perl and more (although I don't know all the options for Windows servers because they're not as common outside of corporate/enterprise networks).
    In either case, given your choice of development language (HTML, plus one of the PHP/Perl/.NET/etc. options), plus your database (SQL Server) plus your web server (IIS, Apache, etc.) you can make any web site you like (or, at least, you're capable of developing).
    If you want to opimize that web site for iPhones then there are many references on how mobile browsing differs from the desktop. I'd recommend this book as a reference (and, yes, I understand the irony of linking to a paperback book for web design guidance ). Googling mobile web design (or iPhone web design) might yield more results.

Maybe you are looking for