Segna il video come già completato  
Se vuoi, sarebbe utile un giudizio su questo video    
La schermata di configurazione dell'istanza ci permette poi di installare Sql Server come istanza predefinita oppure istanza denominata. Quando si installa una sola istanza di Sql Server, sicuramente la scelta più logica è quella di usare l'istanza di default cioè l'istanza predefinita. A questa istanza è possibile accedere tramite della stringa local. Che cosa succede però quando si vuole installare più di un'istanza di Sql Server sulla stessa macchina? Durante l'installazione, a ciascuna istanza deve essere assegnato un nome proprio col quale identificare e quindi chiamare l'istanza di Sql Server. Installare più istanze di Sql Server ha naturalmente delle controindicazioni. Ad esempio il fatto che ogni stanza duplica i componenti, gli oggetti di Sql Server e quindi in quali casi può essere utile avere più istanze diverse sulla stessa macchina. Un esempio tipico è quando si vogliono avere differenti versioni di Sql Server sullo stesso server, sulla stessa macchina. Per creare un'istanza denominata devo cliccare su "Istanza denominata" e scegliere un nome a piacere della mia istanza. Ad esempio SQLIstanza1 oppure posso utilizzare un nome di istanza ancor più parlante, posso chiamare l'amministrazione SQL express 2008 come vediamo una volta che abbiamo selezionato il nome abbiamo scritto il nome nella casella di testo istanza denominata, viene automaticamente valorizzati anche la casella di testo di istanza. Premiamo per cui il pulsante "Avanti" per procedere all'installazione ecco quel che ci viene proposta un riepilogo con requisiti di spazio sul disco e se si accettano appunto queste condizioni di installazione allora si deve premere anche questa volta il pulsante "Avanti" tramite la scheda "Configurazione server" è possibile definire il tipo di configuraioe Utilizzati bere i servizi di Sql Server. Fondamentalmente in Sql Server Express e i servizi sono due: il principale il motore del database il Sql Server database engine e il Sql Server browser che invece è quello indicato nella seconda griglia e il Sql Server browser è un servizio che rimane ascolto delle richieste in arrivo da parte di applicazione e richieste che vengono in arrivo verso componenti Sql Server e fornisce una lista di tutti i server che sono installati sulla macchina. Quindi tutte le istanze disponibili su una macchina. Infatti all'avvio del servizio si quel server browser questo va a leggere nel registro di configurazione del sistema legge tutte le istanze installate e eventualmente leggere il numero di porta. Su questa porta si mette quindi in ascolto. Una delle decisioni quindi più importanti che dovremo prendere durante l'installazione di Sql Server è la scelta dell'utente che verrà impersonato da questi due servizi Sql Server database è in genere Sql Server browser in questo significa che tutte le operazioni eseguite tra questi due servizi verranno lanciate con le credenziali dello specifico utente che andremo a selezionare in queste colonne in queste caselle a discesa. Vediamo inoltre che possibile impostare per il servizio per database fondamentalmente due servizi di rete, esiste il servizio di rete o nei sistemi inglesi "network service" che è un utente di sistema che ha gli stessi privilegi dell'utente administrator sia nell'accesso delle risorse del sistema e quindi ha il privilegi completi nell'accesso alle risorse di sistema e che ha i diritti totali per accedere alla rete. L'account system o ha i privilegi completi sulla macchina che nessuno sul server in cui Sql Server ma non può accedere alla rete. Questo restringere notevolmente il campo d'azione del servizio del database in quanto potrebbe essere impedito l'interazione con altri server. In questo caso quindi andremo ad utilizzare l'account servizio di rete la password e una password vuota e il tipo di avvio è automatico. Abbiamo il pulsante per utilizzarlo senza account per tutti i servizi di Sql Server. Questo nel caso si sia installando un Sql Server in edizione differente dalla Express, caso in cui avremo un elenco di altri servizi altri servizi per i quali è necessario per ognuno impostare le password e il tipo di avvio. Premendo questo pulsante è possibile trasferire questa impostazione a tutti gli elementi della griglia. Il servizio Sql Server Browser ha invece un'account predefinito cioè il network service, per cui non è necessario operare una scelta in questo senso. Il tipo di avvio deve essere automatico per cui selezioniamo la voce automatico. Fatto questo, possiamo passare alla seconda scheda, quella delle regole di confronto le collation. Le regole di confronto ci permettono la scelta dei set di caratteri che vengono archiviati nel database e delle regole con cui questi caratteri vengono poi confrontati tra loro. Quindi scegliere una collation più meno è uguale a operare una scelta delle operazioni internazionali del sistema operativo. Per cui quando si seleziona una lingua, ad'esempio l'italiano si determina che ad esempio il formato data sarà di tipo giorno, mese e anno oppure che le maiuscole sono trattate modo diverse dalle lettere minuscole e che il punto è diverso dalla virgola e così via. Allo stesso modo la collation determina le regole di ordinamento dei caratteri e delle stringhe che vengono archiviate e delle regole di confronto. Ad esempio infatti ci possono essere dell collation che sono case sensitive mentre altre collation sono case insensitive, oppure alcune collation non possono utilizzare delle regole di confronto per cui le lettere senza accento vengono trattate in modo uguale alle lettere con l'accento. Generalmente è sempre meglio lasciare al processo di installazione di Sql Server la scelta della collation da utilizzare infatti Sql Server selezionerà la regola di confronto più opportuna quella che considera ottimale in base a un'analisi sul proprio sistema. Alcuni tipi classici di collation sono latin1_General_CI_AS, ad esempio per l'italiano l'inglese tedesco lo spagnolo portoghese che ha la caratteristica di essere case sensitive e accent sensitive. Possiamo comunque vedere altri tipi di collation tra quelli disponibili. Cliccando sul pulsante personalizza ci si apre questa questa schermata. Cliccando sulle regole di confronto SQL viene resa disponibile la lista con tutte le collation a disposizione, per cui tutti i latin1_General_CI_AI latin1_General_CS_AS per l'americano. Ad'esempio abbiamo comunque la descrizione della regola di confronto per cui se vogliamo o abbiamo necessità di selezionare una nuova regola di confronto specifica possiamo capire dalla descrizione che cosa stiamo scegliendo. In questo caso basta utilizzare il latin1_General_CI_AS, per cui procediamo cliccando sul pulsante avanti. La scheda Configurazione del motore di database, ci permette di selezionare la forma di autenticazione da utilizzare nell'istanza di Sql Server. Sql Server prevede due tipi di autenticazione: l'autenticazione Windows ossia la Windows Authentication e l'autenticazione mista. L'a autenticazione di Windows è la selezione come vediamo di default e prevede che non si possa accedere ai servizi di Sql Server soltanto se si è autenticati all'interno del sistema operativo Windows. Questo significa che solo gli utenti che hanno effettuato una corretta autenticazione in Windows possono accedere come utenti di Sql Server. La modalità mista per contro supporta sia l'autenticazione di Windows sia l'autenticazione più tradizionale, diciamo attraverso username e password. Quindi riassumendo, con l'autenticazione mista si può entrare nei servizi di Sql Server sia come utente autenticato in Windows sia indicando una username e una password. L'autenticazione Windows è di certo il metodo più sicuro. Basti pensare al fatto che con questo metodo di autenticazione non c'è scambio di informazioni private ossia username o password che essendo semplici stringhe sono soggette a intercettazione, furti così via. Questa spesso però non è una soluzione facilmente applicabile ad esempio si può pensare a un'applicazione Windows che non usa l'autenticazione Windows ma memorizza nel file Web.config oppure app.config. Si tratta di un'applicazione testo auto e per quanto riguarda chiaramente le applicazioni scritte in dot.net e memorizza dicevamo in questi due file le stringhe di connessione al database di Sql Server queste stringhe di connessione fanno uso né naturalmente di delle delle due stringhe user né mi password per collegarsi all'istanza di un'istanza locale oppure in un caso ancora più nell'estremo potremo pensare all'applicazione scritte su piattaforme non Windows quindi un insieme 106 così via queste queste applicazioni non hanno la alla possibilità di effettuare l'autenticazione Windows per cui egli dovranno necessariamente vedere scambiare con il server user né mi password selezioniamo la modalità mista la modalità mista utilizzerà una una cauta di amministratore e se ha predefinito nel quale dobbiamo indicare la password scegliamo quindi una password che ci aggrada e scriviamole nelle due caselle di testo è necessario anche specificare in questa lista un amministratore di si quel server cioè come riportato qua lato un utente che disponga di un accesso illimitato al motore alle Sql server è in Cina possa giungere il utente corrente
The configuration of the screen then allows us to install SQL Server as the default instance or named instance. When you install a single instance of SQL Server, surely the most logical choice is to use the default instance that is the default instance. In this instance you can access through the local string. But what happens when you want to install more than one instance of SQL Server on the same machine? During installation, each instance must be assigned a proper name with which to identify and then call the instance of SQL Server. Install multiple instances of SQL Server has naturally contraindications. For example, the fact that each room duplicates components, the objects of SQL Server, and then in such cases it may be useful to have several different instances on the same machine. A typical example is when you want to have different versions of SQL Server on the same server on the same machine. To create a named instance I click the "Named Instance" and choose any name you like in my instance. For example SQLIstanza1 or can I use an instance name even more talking, I can call the Administration SQL 2008 Express as we see once we have selected the name we have written the name in the text box named instance, is automatically also enhanced the text box instance. Press that button "Next" to install this is what we are given a list with the required disk space, and if you just accept these terms of installation, you must once again press the button "Next" through the tab "Server Configuration" you can define the type of drink configuraioe Used Services for SQL Server. Basically in Sql Server Express and services are two: the main database engine to SQL Server database engine and the SQL Server browser which instead is shown in the second grid and SQL Server Browser is a service that is listening to incoming requests from the application and requests that are coming to the SQL Server and provides a list of all servers that are installed on the machine. Then all the available instances on one machine. In fact, when the service is that server browser it goes to read the register configuration of the system reads all the installed instances and possibly read the port number. This door was then put in play. One of the most important decisions so that we take during the installation of SQL Server is the user's choice to be played by these two services Sql Server Sql Server database is usually in the browser, this means that all transactions carried out between these two services will be launched with the credentials of the specific user that we will select these columns in these drop down boxes. We also see that you can set the database service for two basic network services, there is a network service or English systems "network service" which is a system user who has the same privileges of the administrator is in the access of resources system and therefore has the full privileges in access to system resources and has full rights to access the network. The account system or have full privileges on the machine that no one on the server where SQL Server but can not access the network. This greatly restrict the scope of the service because the database could be prevented from interacting with other servers. In this case, then we're going to use the Network Service account password and a blank password and the startup type is automatic. We use it without the button to account for all SQL Server services. That's if you have installed a different edition of SQL Server Express, in which case we will have a list of other services other services for which everyone is required to set the password and the startup type. Pressing this button allows you to transfer this approach to all elements of the grid. The SQL Server Browser has instead an account that is the default network service, so you do not need to make a choice in this regard. The startup type should be automatic that we select the item automatically. Without this, we can proceed to the second tab, the collation of the collation. The rules allow us to compare the choice of character sets that are stored in the database and the rules by which these characters are then compared with each other. Then choose a collation is equal to less than a choice of operations of the operating system. So when you select a language, the Italian ad'esempio determines that such date will be the format type of day, month and year or that the case be treated differently from lowercase letters, and that point is different from the comma and so on. Similarly, the collation determines the sorting rules of characters and strings that are stored and collation. For example, there may in fact be the collation that is case sensitive while others are case insensitive collation, or some collation can not use the collation for the letters without accents are treated the same as the letters with accent. Generally it is best to leave the installation process of SQL Server the choice of the collation to be used because SQL Server will select the most appropriate matching rule that it considers best based on an analysis on your system. Some classical types of collation are latin1_General_CI_AS, for example, to English Italian German Spanish Portuguese has the feature to be case sensitive and accent sensitive. We can still see other types of collation between those available. Click the Customize button you will see the following on this screen. Clicking on the SQL collation is made available to the list of all available collation, to which all the latin1_General_CI_AI latin1_General_CS_AS for American. Ad'esempio we still have the rule description, comparison, so if we want or we need to select a new collation specifies the description we can understand what we are choosing. In this case just use the latin1_General_CI_AS, so proceed by clicking the button below. The Configuration tab of the database engine allows us to select the form of authentication to use the SQL Server. SQL Server provides two types of authentication: Windows authentication or the Windows Authentication and Mixed Authentication. The Windows authentication is to how we see the selection of default and provides that no one can access the services of SQL Server unless you are logged into the Windows operating system. This means that only users who have proper authentication in Windows can access as users of SQL Server. Mixed mode on the other hand supports both Windows Authentication is more traditional authentication, say via a username and password. So in summary, can be mixed with the authentication service entrance of Sql Server as a Windows authenticated user in specifying a username and password. Windows authentication is certainly the safest way. Think about the fact that with this authentication method there is no exchange of private information that is as simple username or password strings that are subject to interception, theft, etc.. However, this often is not easy to apply such a solution can not think of a Windows application that uses Windows authentication, but store it in the Web.config file or app.config. This is an application text and drive for applications written in clear and dot.net said in these two files store the connection strings to SQL Server database connection strings are using these naturally neither of the two strings of user nor do I password to connect to the instance of a local or in one case even in the extreme we can think of the application written on non-Windows platforms and then a 106 so on together these these applications do not have the ability to carry out ' Windows authentication for which he must necessarily see the exchange server user password nor do I select the mixed mode mixed mode will use a cautious administrator, and if it where we need to indicate the default password and then choose a password that we like and in the two scriviamole text boxes, you must also specify in this list is an administrator of that server that is shown here as part of a user who has unlimited access to the engine to the SQL server is in China to reach the current user