<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Nisi's work blog &#187; sql</title>
	<atom:link href="http://wiki.nisi.ro/tag/sql/feed/" rel="self" type="application/rss+xml" />
	<link>http://wiki.nisi.ro</link>
	<description>Nisi's work blog - programing tips</description>
	<lastBuildDate>Mon, 21 Nov 2011 08:43:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Restore MySql database using command line</title>
		<link>http://wiki.nisi.ro/2009/12/restore-mysql-database-using-command-line/</link>
		<comments>http://wiki.nisi.ro/2009/12/restore-mysql-database-using-command-line/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 11:55:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP & MySQL]]></category>
		<category><![CDATA[dbname]]></category>
		<category><![CDATA[dump.sql]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[restore]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[user]]></category>

		<guid isPermaLink="false">http://wiki.nisi.ro/?p=169</guid>
		<description><![CDATA[mysql -u USER -p DBNAME &#60; dump.sql Where: USER is your username DBNAME is Databas witch will be restored dump.sql (any .sql file can be used) is your database dump]]></description>
			<content:encoded><![CDATA[<p>mysql -u USER -p DBNAME &lt; dump.sql</p>
<p>Where:</p>
<ul>
<li><strong>USER</strong> is your username</li>
<li><strong>DBNAME</strong> is Databas witch will be restored</li>
<li><strong>dump.sql</strong> (any .sql file can be used) is your database dump</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://wiki.nisi.ro/2009/12/restore-mysql-database-using-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft SQL Server &#8211; Data Types</title>
		<link>http://wiki.nisi.ro/2008/05/microsoft-sql-server-data-types/</link>
		<comments>http://wiki.nisi.ro/2008/05/microsoft-sql-server-data-types/#comments</comments>
		<pubDate>Tue, 20 May 2008 07:39:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[int varchar]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://wiki.nisi.ro/?p=20</guid>
		<description><![CDATA[char[(n)] Fixed-length non-Unicode character data with length of n characters. n must be a value from 1 through 8,000. Storage size is n bytes. nchar[(n)] Fixed-length Unicode character data with length of n characters. n must be a value from 1 through 4,000. Storage size is two times n bytes. varchar[(n)] Variable-length non-Unicode character data [...]]]></description>
			<content:encoded><![CDATA[<p><br />
<strong>char[(n)]</strong><br />
Fixed-length non-Unicode character data with length of n characters. n must be a value from 1 through 8,000. Storage size is n bytes.</p>
<p><strong>nchar[(n)]</strong><br />
Fixed-length Unicode character data with length of n characters. n must be a value from 1 through 4,000. Storage size is two times n bytes.</p>
<p><strong>varchar[(n)]</strong><br />
Variable-length non-Unicode character data with length of n characters. n must be a value from 1 through 8,000. Storage size is the actual length of the data entered, not n bytes. The data entered can be 0 characters in length.</p>
<p><strong>nvarchar[(n)]</strong><br />
Variable-length Unicode character data with length of n characters. n must be a value from 1 through 4,000. Storage size, in bytes, is two times the number of characters entered. The data entered can be 0 characters in length.</p>
<p><strong>bigint</strong><br />
Integer (whole number) data from -2^63 (-9223372036854775808) through 2^63-1 (9223372036854775807). Storage size is 8 bytes.<br />
The bigint data type is available in SQL Server 2000 or later.</p>
<p><strong>int</strong><br />
Integer (whole number) data from -2^31 (-2,147,483,648) through 2^31 &#8211; 1 (2,147,483,647). Storage size is 4 bytes.</p>
<p><strong>smallint</strong><br />
Integer data from -2^15 (-32,768) through 2^15 &#8211; 1 (32,767). Storage size is 2 bytes.</p>
<p><strong>tinyint</strong><br />
Integer data from 0 through 255. Storage size is 1 byte.</p>
<p>Date and time data types for representing date and time of day.</p>
<p><strong>datetime</strong><br />
Date and time data from January 1, 1753, through December 31, 9999, with an accuracy of three-hundredths of a second, or 3.33 milliseconds.</p>
<p><strong>smalldatetime</strong><br />
Date and time data from January 1, 1900, through June 6, 2079, with an accuracy of one minute</p>
<p>Monetary data types for representing monetary or currency values.</p>
<p><strong>money</strong><br />
Monetary data values from -2^63 (-922,337,203,685,477.5808) through 2^63 &#8211; 1 (+922,337,203,685,477.5807), with accuracy to a ten-thousandth of a monetary unit. Storage size is 8 bytes.</p>
<p><strong>smallmoney</strong><br />
Monetary data values from &#8211; 214,748.3648 through +214,748.3647, with accuracy to a ten-thousandth of a monetary unit. Storage size is 4 bytes.</p>
<p>Numeric data types with fixed precision and scale.</p>
<p><strong>decimal[(p[,s])]</strong><br />
Fixed precision and scale numbers. When maximum precision is used, valid values are from &#8211; 10^38 +1 through 10^38 &#8211; 1.</p>
<p>p (precision) specifies the maximum total number of decimal digits that can be stored, both to the left and to the right of the decimal point. The precision must be a value from 1 through the maximum precision. The maximum precision is 38.</p>
<p>s (scale) specifies the maximum number of decimal digits that can be stored to the right of the decimal point. Scale must be a value from 0 through p. The default scale is 0; therefore, 0 &lt;= s &lt;= p. Maximum storage sizes vary, based on the precision.</p>
<p><strong>numeric[(p[,s])]</strong><br />
A synonym for decimal.<br />
<strong>float[(n)]</strong><br />
Floating point number data from &#8211; 1.79E + 308 through 1.79E + 308. n is the number of bits used to store the mantissa of the float number in scientific notation and thus dictates the precision and storage size. n must be a value from 1 through 53.</p>
<p><strong>real</strong><br />
Floating point number data from -3.40E + 38 through 3.40E + 38. Storage size is 4 bytes. In SQL Server, the synonym for real is float(24).<br />
text</p>
<p>Variable-length non-Unicode data in the code page of the server and with a maximum length of 2^31 &#8211; 1 (2,147,483,647) characters. Storage size is the actual length in bytes of the data entered.</p>
<p><strong>ntext</strong><br />
Variable-length Unicode data with a maximum length of 2^30 &#8211; 1 (1,073,741,823) characters. Storage size, in bytes, is two times the number of characters entered.<br />
binary[(n)]</p>
<p>Fixed-length binary data of n bytes. n must be a value from 1 through 8,000. Storage size is n+4 bytes. When n is not specified in a data definition, the default length is 1.</p>
<p><strong>varbinary[(n)]</strong><br />
Variable-length binary data of n bytes. n must be a value from 1 through 8,000. Storage size is the actual length of the data entered + 4 bytes, not n bytes. The data entered can be 0 bytes in length. When n is not specified in a data definition, the default length is 1.</p>
<p><strong>image</strong><br />
Variable-length binary data from 0 through 2^31-1 (2,147,483,647) bytes.<br />
bit<br />
Integer data type that can be 1, 0, or NULL.</p>
<p><strong>uniqueidentifier</strong><br />
A globally unique identifier (GUID). A column of uniqueidentifier data type can be initialized using the NEWID function or converting from a string constant in the following form: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx, in which each x is a hexadecimal digit in the range 0-9 or A-F.</p>
<p><strong>timestamp</strong><br />
A database-wide unique number that gets updated every time a row gets updated. The value of a timestamp column is unique within a database. The storage size is 8 bytes.</p>
]]></content:encoded>
			<wfw:commentRss>http://wiki.nisi.ro/2008/05/microsoft-sql-server-data-types/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

