Around and About .NET World

Il blog di Marco Minerva
posts - 1671, comments - 2232, trackbacks - 2135

My Links

News

Contattami su Live Messenger:


MCTS: Windows, Web, Distributed Applications & SQL Server

MCPD: Enterprise Applications

Tag Cloud

Archives

Post Categories

Links

mercoledì 2 aprile 2008

[70-431] Dividere una partizione in due

Quando, nel Self-Paced Training Kit per l'esame 70-431, si parla del comando ALTER PARTITION FUNCTION... SPLIT RANGE, non viene menzionata una cosa importante, ovvero che è necessario che il Partition scheme associato contenga un filegroup per la nuova partizione. Questo fatto viene accennato solo nella parte pratica del capitolo. In questa pagina di MSDN la cosa viene spiegata in dettaglio. In particolare, la nota importante è la seguente:

A filegroup must exist online and be marked by the partition scheme that uses the partition function as NEXT USED to hold the new partition. Filegroups are allocated to partitions in a CREATE PARTITION SCHEME statement. If a CREATE PARTITION SCHEME statement allocates more filegroups than necessary (fewer partitions are created in the CREATE PARTITION FUNCTION statement than filegroups to hold them), then there are unassigned filegroups, and one of them is marked NEXT USED by the partition scheme. This filegroup will hold the new partition. If there are no filegroups marked NEXT USED by the partition scheme, you must use ALTER PARTITION SCHEME to either add a filegroup, or designate an existing one, to hold the new partition. A filegroup that already holds partitions can be designated to hold additional partitions. Because a partition function can participate in more than one partition scheme, all the partition schemes that use the partition function to which you are adding partitions must have a NEXT USED filegroup. Otherwise, ALTER PARTITION FUNCTION fails with an error that displays the partition scheme or schemes that lack a NEXT USED filegroup.
Technorati Tags: ,

posted @ lunedì 1 gennaio 0001 00:00 | Feedback (0) | Filed Under [ Certificazioni SQL Server ]

[70-431] Attenzione alla condizione del CONTAINS nel Full-Text Search

Se si vuole ricercare un certo prefisso, bisogna ricordarsi di racchiudere l'espressione tra virgolette doppie. ad esempio:

SELECT * FROM Users WHERE CONTAINS(Username, '"paol"*');

per trovare tutti gli utenti il cui nome contiene un prefisso "paol" (quindi, ad esempio, paolo e paolino). Se, invece, non si fossero usate le doppie virgolette, SQL Server avrebbe cercato solo gli utenti il cui username è esattamente paol*.

Technorati Tags: ,

posted @ lunedì 1 gennaio 0001 00:00 | Feedback (2) | Filed Under [ Certificazioni SQL Server ]

Annunciato Windows Mobile 6.1

Ieri, al CTIA Wireless 2008 tenutosi a Las Vegas, è stato annunciato Windows Mobile  6.1. Si tratta di un aggiornamento della piattaforma Windows Mobile che promette, tra le altre cose, una gestione più facile delle funzionalità del telefono e miglioramenti per quanto riguarda la sicurezza. Maggiori dettagli sono qui disponibili qui.

Technorati Tags:

posted @ lunedì 1 gennaio 0001 00:00 | Feedback (0) | Filed Under [ Windows Mobile ]

Video su ASP .NET MVC Framework

A questo indirizzo sono disponibili alcuni video introduttivi sull'utilizzo dell'MVC Framework per ASP .NET. Gli esempi di codice mostrati sono in Visual Basic .NET.

Fonte: Beth Massi - Sharing the goodness that is VB

Technorati Tags: , , ,

posted @ lunedì 1 gennaio 0001 00:00 | Feedback (0) | Filed Under [ VB .NET ASP .NET ]

Powered by:
Powered By Subtext Powered By ASP.NET