Aug 27 2012

SQL Server 2000 Data Types

SQL Server requires that each variable and column in a table should be defined with respect to the type of data it will store. From a bit to a huge image and binary storage types, the allocation is supposed to help the user conform to the data required, and help the engine allocate space and processing speed efficiently.

Built-in data types

SQL Server 2000 recognizes the following built in data types:

Data Types
Description

bigint
Integer data from -2^63 through 2^63-1

int
Integer data from -2^31 through 2^31 – 1

smallint
Integer data from -2^15 through 2^15 – 1

tinyint
Integer data from 0 through 255

bit
Integer data with either a 1 or 0 value

decimal
Fixed precision and scale numeric data from -10^38 +1 through 10^38 -1

numeric
Fixed precision and scale numeric data from -10^38 +1 through 10^38 -1

money
Monetary data values from -2^63 through 2^63 – 1

smallmoney
Monetary data values from -214,748.3648 through +214,748.3647

float
Floating precision number data from -1.79E + 308 through 1.79E + 308

real
Floating precision number data from -3.40E + 38 through 3.40E + 38

datetime
Date and time data from January 1, 1753, through December 31, 9999,
with an accuracy of 3.33 milliseconds

smalldatetime
Date and time data from January 1, 1900, through June 6, 2079,
with an accuracy of one minute

char
Fixed-length character data with a maximum length of 8,000 characters

varchar
Variable-length data with a maximum of 8,000 characters

text
Variable-length data with a maximum length of 2^31 – 1 characters

nchar
Fixed-length Unicode data with a maximum length of 4,000 characters

nvarchar
Variable-length Unicode data with a maximum length of 4,000 characters

ntext
Variable-length Unicode data with a maximum length of 2^30 – 1 characters

binary
Fixed-length binary data with a maximum length of 8,000 bytes

varbinary
Variable-length binary data with a maximum length of 8,000 bytes

image
Variable-length binary data with a maximum length of 2^31 – 1 bytes

cursor
A reference to a cursor

sql_variant
A data type that stores values of various data types,
except text, ntext, timestamp, and sql_variant

table
A special data type used to store a result set for later processing

timestamp
A database-wide unique number that gets updated every time
a row gets updated

uniqueidentifier
A globally unique identifier

Bigint, sql_variant, and table are new to SQL Server 2000

User-defined data types
You can make user-defined data types too, which sometimes can be more descriptive of the value types held in the object. This may make it easier for the programmer to document and work with the data. These data types are based on the built in types, and can be outfitted with preprogrammed defaults, checks, constraints, etc. . To create a user-defined data type, use

sp_addtype datatypename, basedatatype, ‘NULL’/'NOT NULL’

How to choose the appropriate data type
SQL Server stores data in data pages that are 8Kb (8192 bytes) in size. The system uses some of that s Sometimes, the system uses only 8060 bytes are availableto that are available to store user’s data. Consider the size of a row of data in your tables. If the rows are large, make sure that multiples of the fit conveniently on a data page so that page space is not wasted. This is cut down on disk paging overhead when accessing the data. You want to maximize the number of rows of data which that will fit on a page. This can be accomplished both by splitting the tables, and by choosing the smallest data type which that will accommodate your data. .

In you are using integer data, data; consider that the tinyint datatype will accommodate data which that will fit into one byte of storage. So if the range of all of the data in your field (or variable) is between 0 and 255, use the tinyint datatype. If the range is between -32,768 and 32,767, use the smallint data type. And if If you need to store integer data from -2,147,483,648 through 2,147,483,647, use int data type.

Similarly with smallmoney. If smallmoney. if your value range is between -214748.3648 and 214,748.3647, use the smallmoney datatype.

Use smalldatetime data type instead of datetime data type, if you need to store the date and time data from January 1, 1900 through June 6, 2079, with accuracy to the minute.

Prefer varchar.nvarchar to text/ntext whenever possible because the text and image fields are stored separately, which produces additional paging. And prefer char/varchar to nchar/nvarchar data types because the n types require twice as much storage space. The n types are used primarily for unicode data.

Resources
• Tutorial: SQL 7 & Database Files
This is a useful tutorial on SQL & and database Files.

• Information: Complete information on SQL
This resource provides complete information on SQL.

Metro NY / NJ SQL Server Consultants
We specialize is custom database software. Call us for a free consultation (973) 635 0080 or email us at paladn.com


Aug 26 2012

Spyware The Enemy To You And Your Computer

There is a good chance that if you are actively online with your computer system that in some way spyware will get installed. All it takes is just clicking on the wrong site or by signing up for some web programs. Pretty much everyday there is a new form of spyware that has been created by someone or some company that is seeking information. Also with the easy availability of high speed internet services it has made the spread of spyware even faster and easier.

Spyware was originally designed to monitor and transmit back information to its “home” or creator without the user’s knowledge sometimes. This data would used to send back advertising ads usually popup to your computer. Over time spyware has changed and grown and now it has four biggest types of “malicious software” and threat to computers worldwide along with viruses, Trojans and worms.

So what are the major dangers with spyware running in the back ground on your computer system?
To start spyware can cripple your computer and slow your computer to a crawl this is due to the way installs itself and configured to start whenever you boot up your computer system and runs all the time. The spyware steals both your computer resources and also your computer internet bandwidth. If network with multiple computers like a small business or home based business then the infected system with spyware can cause the over all network to slow down.

Another issue with spyware is the danger of invasion of privacy. Remember that these programs can collect all types of data from you computer system and then send back to its creator. Spyware usually collects information that can be used for advertising, marketing to see what websites you visit on a frequent bases. However there is a always that potential to user spyware to collect personal information such as financial, credit card and personal ID the purpose of identity thief or to gain access to those accounts along with email accounts and address books for spam purposes.

The latest way to infest you computer system have gotten even worse by using a bot net. This is where a computer or group of computers with a bot or “robot” software that works together to launch attacks on other computers to infect them with spyware. These bot nets currently focus more installing spyware programs on targeted victim computers.

Some of the most common forms of spyware are Bargain Buddy, Gain, b3b projector, Gator, n-Case, SaveNow, Search Toolbar, Webhancer and Search Assistant. These are just some the current spyware out today which can be difficult to uninstall toolbars to hijackers that take over you home page and pop-up windows generators.

Promoters of spyware or Adware say that they are doing nothing wrong because in some cases you agree to the terms of the service or EULA which states that you will provide this information to these companies.

Usually spyware will store files on your computer from a few cookies to .dll files and registry entries installed on your computer. Spyware is like another type of programs on your computer and when they run it used your computers systems memory and processor to keep it running which ties up valuable system resources on your computer.

Although some people may not mind generating data for these companies but even if it is the friendliest type of spyware these types of programs can lead to issue and can even compromise the computer security.

In my experience as an IT professional that on some systems that are so infected with spyware the only way to get the computer running normally was to completely reinstall the operating system because if a system is that impacted it takes hours and hours to remove the spyware and even then some of the worse types might still be on the computer.

Spyware along with other malicious software can cause serious issues and problems with how your computer operates and although there are some spyware removal program that you can run that will help protect and remove these types of programs. A couple of programs that I recommend are Ad-Aware from Lava Soft and Spyware Doctor 3.2 from PC tools. But even with these programs I always recommend the full backup of your computer system because there are still other malicious software program and hardware issue such as hard drive failures that can occur. By running regular backups on your computer system you ensure the protection of your data.

In conclusion spyware on your computer can be a lot of trouble for the person computer or if you operate a small business or home office. The best idea is to keep your computer system free of spyware and to run software protection just incase your computer is imfected.

Hopefully this article has been informative and helpful to you. If you’re looking for more Business computing information and solutions then be sure to check our website listed below.


Aug 25 2012

Spyware Remover – Protect Your Computer from Spyware

Spyware – this is one of the biggest threats to security and privacy in the internet today. Spyware intrude, break and enter our computers and pose a great threat especially with more malicious spywares. Leaving a home or business computer unprotected from spyware is just like leaving the front door open to intruders. The internet was not designed with security checks in place, that is why spywares have spread unchecked and now pose a big threat to the security and privacy of millions of internet users all over the world. Roughly 90% of computers today are infected or are vulnerable to spyware. It is more important more than ever to make sure spyware protection is in place in the form of spyware removers.

To combat spyware, it is important to understand what a spyware is. The term spyware covers a wide variety of malicious software that is designed to intercept or take partial control of the operation of a computer without the informed consent of the owner or user. The term spyware implies software that stealthily keeps an eye on the user; however, it has come to refer to software that undermines a computer’s operation without the owner or user knowing it. Spyware, adware and other malware will exploit the vulnerability of a computer usually for commercial purposes.

Spyware programs embed themselves into the computer and monitor the user’s internet browsing activities, spy on confidential information such as credit card info, send annoying pop-up advertisements and slow down your computer’s performance. Other consequences of spyware infestation include hijacked browsers resulting to reset home pages, changed search results, spam emails, toolbars added to the browser without consent and many more. In such cases, a spyware remover is necessary to clean up the system from all spyware programs and hidden malware.

A spyware remover is a necessary and worthwhile investment to keep any computer system free from spyware programs that could wreak havoc in it. Every computer must be well equipped to combat spyware and its effects. As the threat of spyware worsens, there is a variety of techniques available to counteract it. Spyware removers and other anti-spyware programs are available that help stem the threat of spywares. These spyware removers are designed to remove or block spyware. There are a number of spyware removers available, some are free while others require payment.

Some of the most popular spyware removers include Lavasoft’s Ad-Aware SE and Spybot – Search and Destroy. These spyware removers are effective tools for removing and intercepting spyware programs. Microsoft has also offered its own spyware remover dubbed Windows AntiSpyware Beta, which is currently released as a free download for users of Windows XP, Windows 2000 and 2003. Anti-virus firms have also introduced spyware remover functions in their respective products.

There are two ways in which a spyware remover can combat spyware. Real time protection prevents spyware from being installed. Scanning and removal inspects the contents of the computer’s files and removes files and entries, which match a list of known spywares. Most spyware removers today combine the two approaches. Spyware remover, just like anti-virus software require regular updates of its database of threats as new spyware programs are released all the time. The best spyware program protects the computer from any intrusive spyware and prevents it from being installed as well as keeps the system free from any trace of spyware programs.


Aug 24 2012

Spyware Removal Guide- Choose the best Spyware Removal Application

Spyware refers to software that collects useful information from your personal computer and sends to another computer without your permission. The term spyware is different from viruses and worms because it doesn’t self-replicate however it is designed to make use of infected computers for some commercial gain. Main motive of spyware is to deliver unwanted pop-up advertisements and theft of confidential information. It may cause Internet connection failure and some printing problems. Spyware can be installed via file-swapping programs that are generally used to download music and movies from Internet. If it is installed on your system it monitors your all Internet related activities and then transmits your private information to other party.

You can easily remove spyware by getting all information about spyware. For the purpose of spyware removal it is essential to find spyware on your system. You can detect spyware by following certain tips like:

-Note all the list of tasks that is currently running on your PC. You can check it by pressing CTRL-ALT-DEL. It helps you in finding new unknown thing that occurs on your system.
-Sometimes spyware is listed in the startup list so it is important to be familiar with your startup list. Spyware can restart your personal computer by appearing in the startup list and it also slows down the system processing. You can check your startup list by clicking on the start-run option and then type msconfig and OK. It will show you running programs at the time of rebooting.

Spyware removal is important due to security purposes. Various companies provide free as well as low cost spyware removal software that check your computer and help you in removing the unwanted spyware. You can also remove it by uninstalling unfamiliar applications. For that purpose you should go to Add or Remove option from control panel and uninstall the unknown applications. It is an easy way to get rid of spyware.

You can also choose a better quality spyware removal application. It’s an effective way to secure your system from spyware. You should run these applications in safe mode because safe mode loads a file that is required by operating system. Spyware removal program can efficiently remove spyware in safe mode. If you’re sure that your system has a spyware you can also eliminate spyware with the help of system restore feature.

Several companies are currently providing the best spyware removal products. You can choose one of the following spyware removal products.

• Spyware Doctor
• eTrust Pestpatrol
• Microsoft AntiSpyware Beta 1
• Spybot Search and Destroy
• Ad-Aware SE 6 Personal
• SpySubtract PRO
• Aluria’s Spyware Eliminator

Remember that prevention is always much better than finding and removing spyware. Spyware prevention is an easy task instead of finding in your system. Spyware can easily attack on your privacy. It can also make your system crash. You can prevent your personal computer from the spyware with the help of following tips:

• Keep your software up to date and always choose latest security patches
• Adjust your Internet explorer security settings
• Don’t forget to implement firewalls
• Try something other than Internet Explorer like Firefox or Opera
• Whenever you’re going to download a software from a website read all security warnings, privacy statements and license agreement carefully.
• Be alert while downloading some free music and movie file sharing programs because these are main source of spyware.


Aug 23 2012

Spyware Removal And Prevention – Use Protection

Spyware is a term used to describe a broad category of malicious or privacy invading software. Spyware is very much like a virus in the way that it “infects” a computer’s operation and functioning without the owner/user’s consent. Spyware infects a host by a number of different ways. One way that spyware is distributed is by hiding it inside another piece of software. Disguising software in such a way is very sneaky but is usually not illegal. Often enough, when installing the original software there will be a contract that you must read and accept to continue. About 99% of people never take the time to fully read that contract because if they did, they would learn that the software they are installing would also be installing spyware to do a number of nasty things. Some of these things include: 1. Logging all of your passwords and user names and sending them to people that exploit that information. 2. Logging all of your websites that you visited and keeping detailed track records of your Internet usages. 3. Pop up advertisements unsuspecting in hopes to make a few bucks from your clicks. 4. Slow and bog up your Internet connection.

As you can see spyware is usually an undesirable piece of software. The sad truth is that over 75% of all Internet connected computers are infected with spyware. That number continues to grow because spyware often reproduces itself automatically by sending itself to other computers from infected hosts. Essentially growing exponentially out of control. Even major multi-million dollar businesses undergo a tremendous battle against spyware, spending thousands and thousands of dollars every year. The problem with this is that while battling against spyware they are actually attracting more of it. If only they would put the time, money and resources into having computer and network systems free and immune to spyware will they ever win the war against it.

Now this may sound unbelievable at first but if you look at how anti-spyware softwares, firewall softwares and computer security softwares all work, they work by protecting computers from previously made malicious software, not by preventing new ones from infiltrating. A firewall is designed to block access from places that it is told are unsafe or unrecognized. This might seem like a preventive measure but its not! – If you recall the earlier part of this article, one of the major ways you get infected with spyware is that it piggybacks on a “trusted” piece of software.