.\SQLEXPRESS
192.168.1.240\SQLEXPRESS
(local)\SQLEXPRESS
usuario-pc\SQLEXPRESS
127.0.0.1\sqlexpress
jueves, 21 de enero de 2016
Ejemplos data source
miércoles, 20 de enero de 2016
Borrar listado de servidores y contraseñas sql
SQL Server Management Studio 2014:
C:\Users\%username%\AppData\Roaming\Microsoft\SQL Server Management Studio\12.0\SqlStudio.bin
C:\Users\%username%\AppData\Roaming\Microsoft\SQL Server Management Studio\12.0\SqlStudio.bin
SQL Server Management Studio 2012:
C:\Users\%username%\AppData\Roaming\Microsoft\SQL Server Management Studio\11.0\SqlStudio.bin
C:\Users\%username%\AppData\Roaming\Microsoft\SQL Server Management Studio\11.0\SqlStudio.bin
SQL Server Management Studio 2008:
C:\Users\%username%\AppData\Roaming\Microsoft\Microsoft SQL Server\100\Tools\Shell\SqlStudio.bin
C:\Users\%username%\AppData\Roaming\Microsoft\Microsoft SQL Server\100\Tools\Shell\SqlStudio.bin
SQL Server Management Studio 2005:
- In Windows 8/7/Vista: C:\Users\%username%\AppData\Roaming\Microsoft\Microsoft SQL Server\90\Tools\Shell\mru.dat
- Windows XP: C:\Documents and Settings\%username%\Application Data\Microsoft\Microsoft SQL Server\90\Tools\Shell\mru.dat
fuente: http://www.top-password.com/blog/sql-server-management-studio-saved-password/
jueves, 14 de enero de 2016
Apagar y Reiniciar equipo
Apagar: shutdown.exe -s -t 00
Reiciniar: shutdown.exe -r -t 00
Reiciniar: shutdown.exe -r -t 00
Leer archivo txt
Dim rd As New System.IO.StreamReader(rutaArchivo)
Dim linea As String = rd.ReadLine()
While linea IsNot Nothing
'Código aquí...
linea = rd.ReadLine()
End While
rd.Close()
Dim linea As String = rd.ReadLine()
While linea IsNot Nothing
'Código aquí...
linea = rd.ReadLine()
End While
rd.Close()
Etiquetas:
.net,
ReadLine,
StreamReader
martes, 12 de enero de 2016
Buscar y capturar ruta de un archivo
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim openfiledialog1 As New OpenFileDialog()
Dim rutaArchivo As String = ""
If openfiledialog1.ShowDialog() = System.Windows.Forms.DialogResult.OK Then
rutaArchivo = openfiledialog1.FileName()
MessageBox.Show(rutaArchivo)
End If
End Sub
Dim openfiledialog1 As New OpenFileDialog()
Dim rutaArchivo As String = ""
If openfiledialog1.ShowDialog() = System.Windows.Forms.DialogResult.OK Then
rutaArchivo = openfiledialog1.FileName()
MessageBox.Show(rutaArchivo)
End If
End Sub
miércoles, 2 de diciembre de 2015
Eliminar elementos vacios al aplicar Split
partes = linea.Split(New Char() {" "c}, StringSplitOptions.RemoveEmptyEntries)
jueves, 12 de noviembre de 2015
sql server version list
http://sqlserverbuilds.blogspot.cl/
https://support.microsoft.com/es-es/kb/321185
https://support.microsoft.com/es-es/kb/321185
Suscribirse a:
Entradas (Atom)