What is exactly STATISTICS in SQL Server

hi all,
  What is exactly STATISTICS in SQL server query optimiser ?
Thanks
Selva

Some good content with proper example can help you for sure.
Link:
http://blog.idera.com/sql-server/understanding-sql-server-statistics/
Some part of text may give you idea
If there’s an upcoming election and you are running for office and getting ready to go from town to town city to city with your flyers, you will want to know approximately how many flyers you’re going to bring.
If you’re the coach of a sports team, you will want to know your players’ stats before you decide who to play when, and against who. You will often play a matchup game, even if you have 20 players, you might be allowed to play just 5 at a time, and you will
want to know which of your players will best match up to the other team’s roster. And you don’t want to interview them one by one at game time (table scan), you want to know, based on their statistics, who your best bets are.
Just like the election candidate or the sports coach, SQL Server tries to use statistics to “react intelligently” in its query optimization. Knowing number of records, density of pages, histogram, or available indexes help the SQL Server optimizer “guess”
more accurately how it can best retrieve data. A common misnomer is that if you have indexes, SQL Server will use those indexes to retrieve records in your query.
Not necessarily. If you create, let’s say, an index to a column City and <90% of the values are ‘Vancouver’, SQL Server will most likely opt for a table scan instead of using the index if it knows these stats......
Santosh Singh

Similar Messages

  • What is the difference between SQL Server 2012 R2 & SQL Server 2014

    Hi all,
     I am using SQL Server from last 3 years. I started SQL Server 2008 R2. Now I am using SQL Server 2012. I want to change my development environment to SQL Server 2012 R2. But suddenly I saw that SQL Server 2014 is released. I want to know what are the
    differences between SQL Server 2012 R2 & SQL Server 2014. Are both those are the same or different products?
    I searched through the Internet but I didn't find any article regarding that. So could someone help me to solve this matter?
    Thanks,
    Regards,
    Chiranthaka

    differences between SQL Server 2012 R2 & SQL Server 2014.
    We don't have a Version "SQL Server 2012 R2", only 2005, 2008, 2008R2, 2012 and 2014.
    See MSDN What's New in SQL Server 2014
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Agent statistics and SQL server agent

    We have CUCCX 5.02 and CUCM 6.1
    When agents try to look their "Agent statistics report" in CAD there is no data. And status of this report is "Inactive". All other reports are active.
    In CCX "control center" I see that "CRS SQL server Agent - this service is invalid" and "Cisco Desktop LDAP Monitor Service - this service is invalid".
    We have problem only with Agent statistics report. Historical reporting - work fine.
    What could be the reason?

    Hi
    Please see this tech note in order to restore the services that have failed:
    http://www.ciscosystems.com/en/US/products/sw/custcosw/ps1846/products_tech_note09186a00808278d8.shtml
    Regards
    Aaron
    Please rate helpful posts...

  • What is share pool in sql server. Need details

    Hi All,
    I need detailed architecture of shared pool in sql server
    Regards
    Rahul

    Hi Monica,
    Thank you for helping me out.Can you provide some more details.
    Regards
    Rahul
    Sorry not sure what exactly you're looking at apart from above
    Anyways this has a working sample of how procedure cache is used
    http://sqlsalt.blogspot.in/2012/04/procedure-cache.html
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • What to read about MS SQL server ... ?

    Hello,
    I just need an advice from you folks. I'm QE with some scripting skills. Now I've got an assignment to work with MS SQL 2008. My task is nothing with administration ... and mostly I will have to run SQL query and provide users with the results. Anyway ...
    since I'm completely new to databases and to MS SQL as well I'd like  to have some basic knowledge how database is organized, what are schema, system tables and etc.
    Could you please point me  to good on-line resource that could provide that info? It should not be sophisticated ... just basic but enough to understand how it works,
    Thanks in advance.
    EV

    Purchase SQL Server 2014 (or 2012) Developer Edition for around $50 (2008 may no longer be available).  Install it.  Also install AdventureWorks2012 sample database.
    SQL Server Management Studio is part of the client tools installation.  SSMS is your learning and later working environment.
    SSMS Object Explorer provides you access to all of the database objects.
    Practice T-SQL scripts:
    http://www.sqlusa.com/bestpractices/
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Design & Programming
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • What is the process for SQL Server 2005 patch update

    hi,
    i have 2 production SQL Server2005  Database servers in cluster ,
    what is the process for applying patches.
    Saidireddy

    In 2005 you can do it in two ways...
    Method 1 :
    With SQL Server 2005,
    when you start installing cluster service pack (or hotfix), it must be launched on the active node(node
    that hosts the instance). When installing the Setup will launch simultaneously  "remote silence" on all passive nodes. All nodes in the cluster containing the SQL Server instance are updated in the same time.
    Method 2: First you can install in passive node then you can install in the active node, In this way you can save your down time ( If you start in the active node it will check in the passive, and if its installed already then it skips that
    and start applying in the active node ), but most of the DBA's follows only first method because they may not aware of this or just they follows Microsoft common method. 
    SQL 2008 and Later....
    1.  Apply the hotfix on pasive node N2
    2.  Reboot the passive node N2
    3.  Failover on SQL resource : the passive node become the active node
    4.  Apply the hotfix on the passive node N1
    5.  Reboot the passive node N1
    Raju Rasagounder Sr MSSQL DBA

  • What is the commands for SQL server job to ftp file to remote server?

    I created the job to bcp data out and create file on file system. after that, I need to ftp the file over to another box. how can I do it from sql server job?
    JulieShop

    I would like to suggest a SSIS package with a
    FTP Task instead.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • What's the scope of SQL server settings?

    Suppose I do something like SET Ansi Warnings ON.  Is this setting only for the current SP? Or is it global to all SPs in the current database? Is it global to all databases in the entire instance?
    And how does it apply to a series of batches?  If the setting is turned ON for one batch in the set, does it remain on for the rest of the batches?
    Understand I'm not asking this merely in regard to Ansi Warnings but for ALL settings. Or maybe someone can point me to a chart which covers all this?

    Please refer the section Considerations...:
    http://technet.microsoft.com/en-us/library/ms190356.aspx

  • SQL Server Software ISO, How to find out what is the Edition and Version of the SQL software before starting installation

    Hi All-
    Before starting installation, I would like to find out What EDITION and VERSION  is the SQL Server Software ISO.
    Please note this is not to find out what version is the installed sql server but before the installation: Is there a note or abrv. that describes what kind of Edition and version is the ISO?
    Detail explanation is appreciated.
    Thanks.
    belayzeleka

    @Balmukund - Thanks for the input - That one is a nice blog!
    But assuming you can`t change the Product Key value (you are not provided that number, as you know it gets populated by itself) can you find out
    what implies the corresponding edition? If there is a folder where this reference is store, could you provide the full file path where  this folder is located?
    The ideal solution would be a way to find out what the Edition
    is befor we start installation.
    Thanks!
    Also just to add what I came across:
    The SQL Server 2012 installation software comes with pretty much all edition in it, that kind of makes it difficult to easily identify what edition is the specific ISO, but when
    one downloads from MSDN one must downloads the
    right edition either Standard,
    Enterprise, etc so that when you install it, it installs whatever edition is downloaded.
    The best source would be whoever downloaded the software.
    Also, before going too far, you can find out what edition it is being installed right before the setup wizard finishes on the
    License Terms page (Microsoft Software License Terms Page) and if the edition is not the one you intended to install, you can cancel it there and everything will be rolled back- no hastle.
    belayzeleka

  • Conversion of SQL Server UDF to Oracle

    Hi,
    I hope this is the right place to post this question.
    We are migrating a number of applications from SQL Server to Oracle, so my exposure/experience in Oracle is very limited.
    I had previously created a functin in SQL Server which takes data in this format
    Name, CC_Code
    Alan, 3720
    Alan, 3730
    Alan, 3740
    Anna, 5045
    Barry, 5004
    Barry, 7518
    and produces this
    Name, CC_Code
    Alan, 3720, 3730, 3740
    Anna, 5045
    Barry, 5004, 7518
    I was able to cobble together the select statement below, which returns the correct output, but I am unable to create it as a function.
    SELECT name,
    LTRIM(MAX(SYS_CONNECT_BY_PATH(cost_centre_code,', '))
    KEEP (DENSE_RANK LAST ORDER BY curr),',') AS CC_Code
    FROM (SELECT name,
    cost_centre_code,
    ROW_NUMBER() OVER (PARTITION BY name ORDER BY cost_centre_code) AS curr,
    ROW_NUMBER() OVER (PARTITION BY name ORDER BY cost_centre_code) -1 AS prev
    FROM (select * from mnt_staff, mnt_cost_centre_staff
    where MNT_STAFF.employee_number = MNT_COST_CENTRE_STAFF.employee_number
    and mnt_cost_centre_staff.association_flag = 'S'))
    GROUP BY name
    CONNECT BY prev = PRIOR curr AND name = PRIOR name
    START WITH curr = 1;
    When I create the function, using Toad for Oracle, I get no compile errors, but when I try and use it
    select MNT_USER."NameSecondary"
    FROM (select * from mnt_staff, mnt_cost_centre_staff
    where MNT_STAFF.employee_number = MNT_COST_CENTRE_STAFF.employee_number
    and mnt_cost_centre_staff.association_flag = 'S');
    I get the following error
    ORA-01422: exact fetch returns more than requested number of rows
    ORA-06512: at "MNT_USER.NameSecondary", line 6
    exact fetch returns more than requested number of rows
    Cause: The number specified in exact fetch is less than the rows returned.
    Action: Rewrite the query or change number of rows requested
    I've looked at some suggestions
    "to declare the select statement as a cursor, and a variable type ref cursor to
    hold the results and return them to the caller (as an out parameter)" but am lost as to what/how to do this.
    Any suggestions gratefully received.

    What you posted as a SQL Server function is not a SQL Server function. Neither is your Oracle SQL statement a function. A function, in Oracle, takes one or more parameters (IN, OUT, or IN OUT) and returns one and only one value unless it is a pipelined table function.
    To learn about Oracle functions
    http://www.psoug.org/reference/functions.html
    What is appears you have done is repeat a very common error which is to think that because you know a Microsoft product you can pick up an Oracle product, having not read the concepts and architecture docs, having not taken a class, and having not studied the subject, just start banging out code: It does not work that way.
    Your SQL statement, NOT A FUNCTION, is this:
    select MNT_USER."NameSecondary"
    FROM (
      select *
      from mnt_staff, mnt_cost_centre_staff
      where MNT_STAFF.employee_number = MNT_COST_CENTRE_STAFF.employee_number
      and mnt_cost_centre_staff.association_flag = 'S');and none of us can fix it because none of us can do more than guess as to what is specifically wrong though at the same time I can easily state that it appears that a lot of it is wrong. What is the point of creating an in-line view when all you really seem to want is:
    SELECT mnt_user NameSecondary
    FROM mnt_staff ms, mnt_cost_centre_staff mc
    WHERE ms.employee_number = mc.employee_number
    AND mc.association_flag = 'S';

  • Is SQL Server the new Access?

    This is a condensed summary of the job market as I've been observing it so far this year and maybe in retrospect last year too.  It may or may not be appropriate to this forum, if you are reading it then so far maybe it has relevance.
    But it appears to me as if virtually all new, large-scale work is being moved off of SQL Server and onto cloud and "big data" platforms possibly (but not frequently) including Azure.
    What is being left on SQL Server are legacy systems and smaller applications where generalist developers can totally fend for themselves, with the help of a competent DBA platform staff, and just let the power of the hardware overcome any technical
    issues.  Most of these apps seem to be whatever fits on a standard version and runs under a VM.  In effect, SQL Server is becoming the new Access!
    One additional small attempt at forum relevance: insofar as this market shift might be true, I would attribute it to two engine-related things.  First, the very unfortunate decision by Microsoft that for SQL 2012 licensing for big multicore servers
    became far more expensive.  It seems many shops stayed on SQL 2008 for a long time (still!) because of this and have barely looked at SQL 2014.  Second is that frankly SQL Server is not scaling very well beyond the terabyte range without a lot of
    high-levels of expertise involved - and especially when cheap management tries to run that multi-terabyte database on 32gb production servers!*  SQL Server's reputation for being easy to use, plug-and-play, may be threatening the success of these larger-scale
    apps and is leading to new choices in platform.
    Anyone else have any observations along these lines, pro or con?
    Thanks,
    Josh
    *and if you think that's a myth, it is exactly what happened at my last gig, leading to $20,000,000 in development being thrown away - and no, they simply could not be talked into understanding or mitigating the issue.

    Josh,
    I would think most of this is going to depend on the company, resources, and business models. I added my 2 cents though, enjoy.
    But it appears to me as if virtually all new, large-scale work is being moved off of SQL Server and onto cloud and "big data" platforms possibly (but not frequently) including Azure.
    I personally don't look at Azure as a big data platform. Currently it has its limits in both processing power and disk IO, has its own issues (such as AD integration, which is possible but takes extra hardware and setup) and has an SLA that you may or may
    not be able to live with.
    Do I see more things moving Azure - yes, but it's mostly because they are small and is based on cost + expertise. Most of the time there is no in house DBA and it is cheaper to have some other company worry about hosting it, providing the services, hardware,
    power, etc. You get redundancy and an out of the box SLA for small applications that are fractions of the cost compared to the licensing + hardware + personnel costs of in-house items.
    Remember when everything was run on mainframe, then personal computers came out, now everything is migrating back toward a mainframe feel. It is just how it cycles. "on prem private clouds" are nothing more than beefy hardware with a single purpose all packaged
    together (such as offering from HP and Dell) and something a shop of sufficient size can do on their own with enterprise class hardware - again if you have the space and expertise.
    What is being left on SQL Server are legacy systems and smaller applications where generalist developers can totally fend for themselves, with the help of a competent DBA platform staff, and just let the power of the hardware overcome any technical
    issues. Most of these apps seem to be whatever fits on a standard version and runs under a VM. In effect, SQL Server is becoming the new Access!
    This could just be the company that you work for, or someone up higher that hears a key word and latches on. I can tell you that I'm actually in the process of migrating multiple Oracle databases to SQL Server with application upgrades. That isn't counting
    the other databases that are currently SQL Server at 1TB+ but it depends on what is considered a small application. To a small company almost all applications are large, versus a large company with 10k+ employees and then anything less than 1k+ users is small.
    It also depends on if you're a dev shop or a 3rd party shop. For example, we bought software that runs on a closed source version of MySQL. It happens, that's what they use.
    First, the very unfortunate decision by Microsoft that for SQL 2012 licensing for big multicore servers became far more expensive. It seems many shops stayed on SQL 2008 for a long time (still!) because of this and have barely looked at SQL 2014.
    Yeah, this made me sad. Following Oracle and IBM was not the way to go, but not our decisions. The interesting thing is, if you read the licensing doc, anything you have with SA can be converted to cores so it isn't a total loss and shouldn't be a reason
    to stay at older versions. I still have instances of 2000 running (omfg) that are somehow alive... it's because the software company is no longer around yet we still use that product, not because we don't want to upgrade (read WE as I insist harshly). In fact
    I just had an install guide emailed to me about a possible new product and their "supported" version of SQL Server was 2005 SP3, it's all about what they develop on and if they test it on newer versions. Since that takes money most of the time they don't and
    it makes me sad with a few drops of angry and then tons of push back until they support something newer.
    This is how it will be especially in regulated markets such as stock trading and gambling where products must be "approved" by the boards or commissions before it can be used. I liked to joke that dev shops were 4 years behind, retail and hospitals were
    8 years behind and the government still uses pencil and paper.
    Second is that frankly SQL Server is not scaling very well beyond the terabyte range without a lot of high-levels of expertise involved - and especially when cheap management tries to run that multi-terabyte database on 32gb production servers!
    That is a huge "it depends", I'm not even going to try and lsit the myriad of items that can attribute to this. Very rarely when I am investigating is this an issue to scaling with SQL Server. Most of the time I find two main culprits - the first is a database
    design that is terrible and leads to the problems at hand or the other being an application that doesn't properly use the database. When I say properly, I mean HOLDLOCK hints hard coded into application queries and then wondering why concurrency is terrible.
    The developers just don't know, understand, or care as their job is to ship a product.
    If it makes you feel any better, I have successfully run (for years) a 1+ TB db on a server (2008) with 16 GB of RAM. The database lends itself to the type of workload that doesn't require extremely large datasets in memory and is more of an oltp style with
    large and long archives. This is why I say "it depends", because not every database is equal.
    Anyone else have any observations along these lines, pro or con?
    There will always be a new technology and change in the wind. That's inevitable. Some companies and execs understand this and take caution, some stick to old school (still have AS/400 style batch processing for "real-time" data), some always jump on the
    newest thing. YMMV.
    I look at it as another tool available to us.
    Sean Gallardy | Blog |
    Twitter

  • Resisting the creation of new log files when SQL SERVER is restarted

    Hi,
    I know that when SQL server is restarted new log files are created. But is it possible to resist creating new log fils and insert log data in the existing log files that are used before restarting the sql server

    Hello,
    I guess Raghvendra answered your question. And as per your previous post its not clear what you want to ask an you did not revert. Again if your issue is solved appreciate if you can please mark the answer and vote the posts helpful.
     Can I continue to log in the same file.?
    What does this line mean exactly ? Yes SQL Server will continue to use same transaction log file(LDF file) for writing information as it was using before shutdown. If you are talking about errorlog file a new errorlog file would be created which you can
    read using
    sp_readerrorlog
    Even if you stopped SQL Server service mistakenly its not that server is gone. Yes when you stopped the server all inflight transactions are rolled back. And when SQL Server would come online it would undergo crash recovery and would bring all the databases
    online by reading transaction log file and performing redo and undo of information. All committed transaction would be rolled forward and uncommitted would be rolled back.
    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

  • SQL Server 2008 Express SP1 installation failed

    Hello guys,
    System Info:
    Windows 7 64Bit.
    Scenario: I have an application, while installation it installs SQLServer 2008 instance with some xyz database name.
    Issue: The system already has the SQLServer 2008 R2, and now I am trying to install the application but the SQLServer instance of my application is not getting installed, its giving error saying that the installation failed.
    The error code is :
    0x84B40000
    The below is the log file data.
    07/07/2014 16:15:14.283 ======================================================================
    07/07/2014 16:15:14.283 Setup launched
    07/07/2014 16:15:14.298 Attempting to determine media source
    07/07/2014 16:15:14.298 Media source value not specified on command line argument.
    07/07/2014 16:15:14.298 Setup is launched from media directly so default the value to the current folder.
    07/07/2014 16:15:14.298 Media source: c:\80424454fe36892978\
    07/07/2014 16:15:14.298 Attempt to determine media layout based on file 'c:\80424454fe36892978\mediainfo.xml'.
    07/07/2014 16:15:14.361 Media layout is detected as: Core
    07/07/2014 16:15:14.361 Media LCID is detected as: 1033
    07/07/2014 16:15:14.361 Media is a slipstream package
    07/07/2014 16:15:14.361 Only patch related actions can run patch setup.exe, so continuing to run setup.exe from media.
    07/07/2014 16:15:14.361 /? or /HELP or /ACTION=HELP specified: false
    07/07/2014 16:15:14.361 Help display: false
    07/07/2014 16:15:14.361 Checking to see if we need to install .Net version 2.0
    07/07/2014 16:15:14.376 Determining the cluster status of the local machine.
    07/07/2014 16:15:14.376 The local machine is not configured as a cluster node.
    07/07/2014 16:15:14.376 Attempting to find media for .Net version 2.0
    07/07/2014 16:15:14.376 .Net version 2.0 is installed
    07/07/2014 16:15:14.376 RedistMSI::GetExpectedBuildRevision - Setup expects MSI 4.5.6001.22159 at the minimum
    07/07/2014 16:15:14.376 Attempting to get Windows Installer version
    07/07/2014 16:15:14.376 Windows Installer version detected: 5.0.7601.17807
    07/07/2014 16:15:14.376 RedistMSI::IsVistaRTM - Not Vista RTM build
    07/07/2014 16:15:14.392 Required version of Windows Installer is already installed
    07/07/2014 16:15:14.392 Current running setup.exe full path: c:\80424454fe36892978\setup.exe
    07/07/2014 16:15:14.392 Media setup.exe file version detected: 2007.100.2731.23
    07/07/2014 16:15:14.392 Locally installed setup.exe full path: c:\Program Files (x86)\Microsoft SQL Server\100\Setup Bootstrap\Release\setup.exe
    07/07/2014 16:15:14.408 Local setup.exe file version detected: 2007.100.2731.23
    07/07/2014 16:15:14.408 Local setup.exe version 2007.100.2731.23 is equal or greater than media version 2007.100.2731.23, so re-launching setup.exe from local
    07/07/2014 16:15:14.408 Media source: c:\80424454fe36892978\
    07/07/2014 16:15:14.408 Install media path: c:\80424454fe36892978\x86\setup\
    07/07/2014 16:15:14.423 Media layout: Core
    07/07/2014 16:15:14.423 Attempting to get execution timestamp
    07/07/2014 16:15:14.423 Timestamp: 20140707_161514
    07/07/2014 16:15:14.439 Attempting to launch local setup.exe
    07/07/2014 16:15:14.439 Attempting to launch process c:\Program Files (x86)\Microsoft SQL Server\100\Setup Bootstrap\Release\setup.exe
    07/07/2014 16:15:38.962 Process returned exit code: 0x84B40000
    07/07/2014 16:15:38.962 Local setup.exe returned exit code: 0x84B40000
    07/07/2014 16:15:38.962 Setup closed with exit code: 0x84C40013
    07/07/2014 16:15:38.962 ======================================================================
    Please do reply if anyone knows how to fix this issue.
    Thanks,
    Shiv
    0x84B40000

    Hi,
    You can install SQL server express 2008 on machine having SQL Server 2008 r2 is supported. From what you posted I guess SQL server 2008 r2 is default instance so you need to install SQL server 2008 express SP1 as named instance. Your error matches problem
    mentioned in below thread
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/1e8cfab3-4b99-4b4d-82bf-97799dabe34c/failure-when-installing-from-command-prompt-config-file?forum=sqlexpress
    If issue is not solved please post complete  log files from location
    %programfiles%\Microsoft SQL Server\100\Setup Bootstrap\Log\.
    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 Articles

  • SQL Server Express compatibility with Windows 8.1 - Which version(s) are compatible?

    We have purchased a new computer that has Win 8.1 Pro. We are migrating an application from a Win 7 Pro machine we are currently successfully using (the vendor migrates it for us) and they have said that the application will require the installation of SQL
    Server 2008 Express (which we do have on our Win 7 machine).
    In looking at the requirements for SQL Server 2008 Express (on the download page for it), it does not mention it being compatible with Win 8.1  
    In addition, Installation Instructions  says that it requires:
     Microsoft .Net Framework 3.5 SP1
     Windows Installer 4.5.
     Windows PowerShell 1.0
    I see that 3.5 is already listed as a program feature of Win8.1 and I've enabled it. Do I need to install SP1? I downloaded it, and launched it, and nothing happened.
    I also looked at the Windows Installer 4.5 download page, and it's not clear if that is compatible with 8.1. Do I need to download and install it?
    Power Shell 2.0 is already installed. I assume that will be backwards compatible with PowerShell 1.0; is that correct?
    I saw another question about SQL Server Express Compatibility with Win 8.1 (http://social.technet.microsoft.com/Forums/windows/en-US/038ec00e-4fc1-41ba-9fdc-21c022aad67e/action?threadDisplayName=sql-server-express-compatibility-with-windows-81) and the response
    said that SQL Server Express 2012 will work, but the link contained in the answer led to a page for SQL Server Express 2014.  
    My vendor has told me that SQL SERver Express 2012 will be backwards compatible with their product. But they said that I would first have to install 2008 first. Is that correct for Win 8.1?
    So, the ultimate questions are:
    1. What is the link for Sql Server 2012 Express for Win 8.1? 
    2. Will the SQL Server 2012 Express download require prior install of the 2008 version
    3. What other component requirements are required for SQL Server 2012 Express, and how can I determine if they have already been installed. (This is a brand new computer with a clean Win8.1 Install).
    4. Finally, can we use the 2014 version of SQL Server Express for Win 8.1? If so, questions 1, 2 and 3 apply, too.
    Thanks for your help on this!! HIGH ANXIETY. 

    Hello,
    The following article provides which updates are required to make SQL Server versions compatible with Windows 8 or 8.1:
    http://support.microsoft.com/kb/2681562/en-us
    1. You can use the product updates feature on SQL Server 2012 to make it compatible with Window 8.1. Apply SP1 as described on the following
    article:
    http://www.sqlcoffee.com/SQLServer2012_0008.htm
    2. No.
    3. Download and install .NET Framework 4.0 and enable .NET Framework 3.5. For more information:
    http://www.sqlcoffee.com/SQLServer2012_0017.htm
    4. Yes, you can use SQL Server 2014 with Windows 8.1. Please refer to the Support article provided above.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Open Connection to SQL Server 2000 Instances

    Dear All:
    I always got following error when connecting to a SQL Server 2000 instance:
    "Can't open a socket on NAMNGO\RNDSQLSVR:1433. Check host and port number and
    make sure the
    security manager allows this connection. You can also try running the SocketApplet
    (java.net.UnknownHostException:
    NAMNGO\RNDSQLSVR)"
    I am using Wel Logic 6.1 and SQL Server 2000. SQL Server 2000 has an instance
    named RNDSQLSVR with default TCP port is 1433.
    Is there anyone hit this problem, please let me know.
    Please check the attached file for sample code.
    Thanks,
    Nam Ngo
    [att1.html]

    Hi Sree,
    Thank you for your help. It worked.
    Nam Ngo
    "Sree Bodapati" <[email protected]> wrote:
    Hi Nam,
    The way you do this is by finding out on what port the instance of SQL
    Server you want to connect is listening on. (Use the server network utility
    that comes with SQL Server 2000 for this). Then just mention the
    server=<machine name/ip> of the server this instance is running on. and
    the
    port as the port that is shown by the server network utility as port=<port
    number>. Microsoft specifies NAMNGO\RNDSQLSVR:1433 as the convention
    for
    ODBC but , this driver is a type 4 driver and it needs only the machine
    name
    and port, it doesnt need any instance name.
    (Each instance of SQL Server 2000 listens at a different port)
    HTH
    sree
    "Nam Ngo" <[email protected]> wrote in message
    news:[email protected]..
    Dear All:
    I always got following error when connecting to a SQL Server 2000instance:
    "Can't open a socket on NAMNGO\RNDSQLSVR:1433. Check host and portnumber
    and
    make sure the
    security manager allows this connection. You can also try running theSocketApplet
    (java.net.UnknownHostException:
    NAMNGO\RNDSQLSVR)"
    I am using Wel Logic 6.1 and SQL Server 2000. SQL Server 2000 has aninstance
    named RNDSQLSVR with default TCP port is 1433.
    Is there anyone hit this problem, please let me know.
    Please check the attached file for sample code.
    Thanks,
    Nam Ngo

Maybe you are looking for

  • Manual Pricing in SRM 4.0

    Since we upgraded our system from SRM 2.0 to SRM 4.0 and a price is manually entered, when the requisition gets created on the backend (R/3), the ‘Valuation’ tab will contain a “PO Price” field with <b>‘as gross price’</b>  field populated to ‘1’.  

  • Cross Domain Security Express - RAC configuration

    Hi All, Not sure if the general DB forum is the place for this but here goes. I am involved in designing a solution that wants to provide access to data from networks each trusted to a different level of security. The CDSE CDSS white paper look somet

  • HTTPS to Multiple HTTP service and ports

    Hello Guys, I am trying to set up a config in a one armed design with client connecting via https that should be redirected to differents http servers (some are port 80 others 8080 and 9000) and depending on the end of the HTTPS url I have to rewrite

  • Image files in iPhoto 'Originals' folder are hidden

    When I click 'Show Original File' in iPhoto, it faithfully opens a finder window that points to where the photo should be, but alas is nowhere to be found. If I go to the directory with terminal, the files are all there, plain as day. I'm guessing th

  • Is there any way to delete a single occurrence from a repeating event in Calendar?

    I've got an event that repeats every week...except for next week. Is there any way to delete a single occurrence, or do I just have to stop the repeating event the week before and restart it the week after?