How to store UTF-8 data in SQL Server

Category: IT, MS SQL Server, PHP Tags: , , , , , Comments: 2

Very frequently we need to use the data type UTF-8 to store a data in different languages. As described in the MSDN page the UTF-8 data type is stored in the ‘Samples’ folder in SQL Server (Server\100\Samples\Engine\Programmability\CLR\UTF8String). You just need to activate it.

MaraK

Category: C#, IT, MS SQL Server Tags: , Comments: 3

I’m starting a project for management of a small store, using C# and SQL Server Express.
Félicitations

Equal Action to Identical Databases

Category: IT, Transact-SQL Tags: , , , Comments: 0

If I administer 345 identical databases I can do equal action to all of them (or some of them) easy by selecting the names of the databases, generate dynamic code, execute it and select the result and the errors (is any).

SELECT * or SELECT [Column Name] in IF statement in MS SQL Server

Category: IT, MS SQL Server, Transact-SQL Tags: , , Comments: 1

When we decide how to manipulate the data, we use IF statement verification. For example if we export information about merchant sales, we have two common groups of merchants – these we scan (with serial numbers) and these we don’t scan. For both of them we use two BEGIN… END blocks. To verify the type [...]

Select server logins and their roles in SQL Server

Category: IT, MS SQL Server Tags: , , Comments: 0

To view all the server logins and their roles I use the system view sys.syslogins and CASE to convert 1 to “Yes” and 0 to “No”.

Filegroups and Autogrowth in MS SQL Server

Category: IT, MS SQL Server Tags: , , Comments: 0

Yesterday I was asked about the way a table is stored in several files in a filegroup.

DENSE_RANK() function in MS SQL Server

Category: IT, MS SQL Server, Transact-SQL Tags: , , , Comments: 0

As we can read in Books Online in SQL Server
Ranking functions return a ranking value for each row in a partition. Depending on the function that is used, some rows might receive the same value as other rows. Ranking functions are nondeterministic.
I have created simple example for usage of the Ranking function DENSE_RANK().

Simple SSIS Project – export to flat file, FTP upload, archive (create the package)

Category: IT, MS SQL Server Tags: Comments: 4

Microsoft® SQL Server™ Integration Services is the tool that connects the database to the world and works instead of us. I’ll show you how to extract simple data from the database, store the files in a the file system, rename them, upload them on FTP and report the errors to administrator if any.

Outlook 2010 Data File Location

Category: IT, MS Office Tags: , , , Comments: 3

If you use Outlook 2010 and you prefer to have your data files on external hard drive, you have to point your file location as you add your account manually :-)

Congratulations! You’ve passed the Exam! :-)

Category: IT, Personal Tags: , , Comments: 0

I’ve passed the Exam 70-431: Microsoft® SQL Server™ 2005 – Implementation and Maintenance (Transcript ID: 907652, Access Code: 38959BBD) on May 25, 2010 at Prometric Testing Center in Montreal. What’s next? Microsoft® SQL Server™ + .NET :-)
Félicitations


Page 1 of 212