Salta al contenuto

Il blog del Sorro

Appunti, stralci di programmazione e altro

  • Home
Tag popolari
  • microsoft
  • windows
  • aspnet
  • asp-net
  • database
  • macos
  • sqlserver

Ultimi articoli

Microsoft Activator GIT | cancellare tutti i tag da una repository MEMCACHED | Flush da riga di comando Ubuntu | Installare AAPanel WINDOWS | Verificare quali versioni di .NET framework sono installate
Asp.net Microsoft

ASP.NET | Abilitare sessionState in modalita SqlServer

20/04/2015 Francesco Sorrentino

Per abilitare il sessionState in modalità SQLServer, accedere alla cartella C:\Windows\Microsoft.NET\Framework\<versione del framework> e lanciare il seguente comando: aspnet_regsql.exe -S <ip del server> -U <user id> -P <password> -ssadd

Microsoft Windows

windows 8.1 | Disabilitare il file hiberfil.sys

25/02/2015 Francesco Sorrentino

Aprire un prompt dei comandi con diritti di amministratore e lanciare il seguente comando: powercfg -h off

Database Microsoft SQL Server Windows

SQL SERVER | Modificare il nome logico del database

19/02/2015 Francesco Sorrentino

USE MASTER GO ALTER DATABASE DatabaseName MODIFY FILE (NAME = 'LogicalName_Data', NEWNAME='NEWLogicalName_Data') GO ALTER DATABASE DatabaseName MODIFY FILE (NAME = 'LogicalName_Log', NEWNAME='NEWLogicalName_Log') GO

Asp.net Microsoft

ASP.NET | Dichiarare un oggetto da una stringa

16/01/2015 Francesco Sorrentino

Dim obj As new Object obj = Activator.CreateInstance(Type.GetType("percorso.nomeclasse"))

Database Microsoft SQL Server Windows

SQL SERVER | Chiudere tutte le connessioni attive

26/09/2014 Francesco Sorrentino

ALTER DATABASE 'NomeDatabase' SET SINGLE_USER WITH ROLLBACK IMMEDIATE; ALTER DATABASE 'NomeDatabase' SET MULTI_USER WITH ROLLBACK IMMEDIATE;

Asp.net Microsoft

ASP.NET | Calcolare il CRC32 di un file

11/07/2014 Francesco Sorrentino

Protected Function Crc32(ByVal FileName As String) As String Dim _fileStream As New IO.FileStream(FileName, IO.FileMode.Open, IO.FileAccess.Read) Dim _sha1 As New System.Security.Cryptography.SHA1CryptoServiceProvider _sha1.ComputeHash(_fileStream) Dim _hash() As Byte = _sha1.Hash Dim _buffer As…

Database Microsoft SQL Server Windows

SQL SERVER | Elencare i file presenti in una cartella

26/06/2014 Francesco Sorrentino

EXEC sp_configure 'show advanced options', 1 GO RECONFIGURE GO EXEC sp_configure 'xp_cmdshell', 1 GO RECONFIGURE GO DECLARE @Command VARCHAR(1000) SET @Command = 'dir c:\*.txt /b /s' DECLARE @FilesInAFolder TABLE (FileNamesWithFolder…

Database Microsoft SQL Server Windows

SQL SERVER | Elencare le tabelle e le viste presenti nel database

09/06/2014 Francesco Sorrentino

SELECT Name, CASE WHEN Type = 'U' THEN 'Table' ELSE 'View' END AS 'Type', Create_Date, Modify_Date FROM SYS.OBJECTS WHERE TYPE IN (N'U', N'V') ORDER BY Name ASC

Database Microsoft SQL Server Windows

SQL SERVER | Elencare le colonne presenti in una tabella

09/06/2014 Francesco Sorrentino

SELECT co.Column_Name AS 'Name' ,co.Data_Type AS 'Type' ,ISNULL(co.Character_Maximum_Length, 0) AS 'Lenght' ,CASE WHEN co.Data_Type='Bit' AND NOT co.Column_Default IS NULL THEN CASE WHEN REPLACE(REPLACE(REPLACE(ISNULL(co.Column_Default,''),'(',''),')',''),'''','') = 0 THEN 'False' ELSE 'True' END…

Database Microsoft SQL Server Windows

SQL SERVER | Calcolare ultima domenica del mese

27/05/2014 Francesco Sorrentino

Lo script seguente restituisce un valore di tipo datetime relativo all’ultima domenica del mese: DECLARE @Data DATETIME = 'Data calcolo' SELECT DATEADD(DAY, DATEDIFF(DAY, '19000107', DATEADD(MONTH, DATEDIFF(MONTH, 0, @Data ), 30))…

Paginazione degli articoli

1 … 6 7 8 … 11

Categorie

  • .NET
  • Asp
  • Asp.net
  • Azure
  • CocoaPods
  • Database
  • Dos
  • DotNetCore
  • Git
  • IIS
  • Linux
  • MacOS
  • Microsoft
  • MySQL
  • Nat
  • Nginx
  • RDP
  • Social
  • Spotify
  • SQL Server
  • Swagger
  • Swift
  • Ubiquiti
  • UniFi
  • Virtualizzazione
  • VisualStudio
  • VMWare
  • Vpn
  • Web
  • Webserver
  • Windows
  • windows Azure
  • XCode

Ti sei perso

Microsoft

Microsoft Activator

08/01/2025 Francesco Sorrentino
Git

GIT | cancellare tutti i tag da una repository

19/11/2024 Francesco Sorrentino
Linux

MEMCACHED | Flush da riga di comando

19/11/2024 Francesco Sorrentino
Linux

Ubuntu | Installare AAPanel

17/05/2024 Francesco Sorrentino

Il blog del Sorro

Appunti, stralci di programmazione e altro

Proudly powered by WordPress | Tema: Newsup di Themeansar.

  • Home