feb
27
2012

Come calcolare lo spazio occupato dalle tabelle e dagli indici

Come calcolare lo spazio occupato dalle tabelle e dagli indici

 A volte c'è bisogno di fare un pò di pulizia, o comunque capire perchè il nostro database è così grande.Ecco uno script che permette di individuare tabella per tabella , indice per indice il numero di record e lo spazio su disco occupato.  decl... [Prosegue]

gen
5
2012

T-Sql: come possiamo eseguire il backup di tutti i nostri Database

T-Sql: come possiamo eseguire il backup di tutti i nostri Database

  Le stored procedure rappresentano il "Cuore" della programmazione Transact SQL. Presenti da sempre in SQL Server sono gruppi di istruzioni SQL compattati in un modulo e memorizzati nella cache per un successivo utilizzo. Il loro utilizzo comporta i seguenti vantaggi: Aumento nell... [Prosegue]

nov
3
2011

A proxy account is not allowed for a transact-sql subsystem

A proxy account is not allowed for a transact-sql subsystem

 When a proxy account is first created, SQL Server Agent verifies that it is linked to a valid set of credentials. Upon each job step execution, SQL Server Agent makes sure the user is still granted access to the proxy account and fails the job if the user does not have a... [Prosegue]

ott
27
2011

Sql Server: Split Function

Sql Server: Split Function

 Ecco una funzione in Sql Server per splittare una stringa:CREATE FUNCTION dbo.fnSplit( @sInputList VARCHAR(8000) -- List of delimited items , @sDelimiter VARCHAR(8000) = ',' -- delimiter that separates items) RETURNS @List TABLE (item VARCHAR(8000))BEGIND... [Prosegue]

ott
25
2011

SQL Server String Functions

SQL Server String Functions

  Sql string function is a built-in string function.It perform an operation on a string input value and return a string or numeric value.Below is All built-in Sql string function :ASCII, NCHAR, SOUNDEX, CHAR, PATINDEX, SPACE, CHARINDEX, REPLACE, STR, DIFFERENCE, QUOTENAME, STUFF, LEF... [Prosegue]

ott
25
2011

Sql Server: Like tra 2 campi della stessa tabella

Sql Server: Like tra 2 campi della stessa tabella

 Ecco un esempio di like fra 2 tabelle: SELECT TROVATI,[NOME DENOMINAZIONE],[AZIENDA BENEFICIARIA]FROM FLUSSI.dbo.BONIFICI_TEMPORARYWHERE [Nome Denominazione] LIKE '%' + [BONIFICI_TEMPORARY].[AZIENDA BENEFICIARIA] + '%' Ciao Fab Se volete seguire i pos... [Prosegue]

ott
20
2011

string or binary data would be truncated.

string or binary data would be truncated.

 Error Message:Msg 8152, Level 16, State 14, Line 5String or binary data would be truncated.Severity level:16.Description:This error message appears when you try to insert a string with more characters than the column can maximal accommodate.Consequences:The T-SQL... [Prosegue]

Tutti pazzi per Rose

Le prime pagine dei quotidiani

Le prime pagine dei quotidiani

Ritrovaci su Facebook

Scopri le offerte dei volantini

Offerta Volantini

Sostieni il nostro Blog

Se pensi che le nostre iniziative siano interessanti e hai voglia di sostenere il nostro impegno quotidiano, allora puoi darci una mano.

Grazie.

Sostieni il nostro blog

Ultimi video inseriti


Vignetta del giorno

Top Tags

Month List