
Populate a Normalized Table with Data from an Unnormalized Table
Say you wanted to transfer data from an unnormalized source table in Excel (a worksheet) to SQL Server. Take a look at the columns in the source table, TABLE_A, with

Say you wanted to transfer data from an unnormalized source table in Excel (a worksheet) to SQL Server. Take a look at the columns in the source table, TABLE_A, with

There is a common and tricky problem that arises when you’re sending data from an HTML form to the server?the amount of data you can send depends on which method

To test if an integer is a power of 2 (1,2,4,8,16…256…), use the following code: if (!(x & (x-1)) then … Because 2^N-1 numbers have no common bits with 2^N

Say Employee_Table has fields like EMP_NO, EMP_NAME, etc. In java, try this: try{ Connection conn =…//opening connection. PreparedStament ps = con.prepareStatement(“Select conn.setAutoCommit(false); Statement stmt = conn.createStatement(); stmt.addBatch( sql 1st insert

e are witnessing increasingly ambitious projects software in Flash. A quick look through the Macromedia Showcase for Flash proves that Flash is no longer just for animations or for dazzling

ava technology has maintained a strong foothold in the Web development world since Java Servlets and JSP hit the scene more than 6 years ago. Java technologies are mature and

here are many definitions of what Web services are or should be, each more or less understandable. It’s interesting how sometimes the simplest things are the hardest to describe. With

uring the recent LinuxWorld conference, Linux proponents loudly celebrated Linux’ increasing importance in the world of software. It’s true that Linux has made great strides in becoming a standard part

ext processors, spellcheckers, and IDEs are just a few classic examples of applications that need to manipulate strings extensively. Web-oriented applications also make heavy use of strings for generating text,

This freeware ActiveX control makes it extremely easy to save and load controls’ property values to and from the registry or INI files. Creating a “binding” between a property and

When you use a web service’s proxy class, the calls to the web service might fail if you’re behind a proxy server. To solve the problem, you set the Proxy

‘ Return a boolean indicating whether the input connection string for the OLEDB ‘ managed provider points to a SQL Server DB” Examples:’ Debug.WriteLine(IsOleDbSqlConnString(“Provider=SQLOLEDB.1;Data ‘ Source=.;User ID=sa;Password=;Initial Catalog=MyDB”)) ‘ =>

‘ Return a boolean indicating whether the input connection string is for the’ ADO.NET’s SQL Server managed provider’ Note: the function assumes the input string is a valid OLEDB or

‘ Return the Database name if the input connection string points to a SQL ‘ Server DB, or the DB path if the connection string points to a Jet (Access)

It may happen that you have to define a lot of variable of some type, and you want the possibility to later change their type without manually change the declaration

have been an actively employed developer for almost 15 years now. I started my career in Oregon as a developer for a small property management company. I later moved to

alidating the information entered by users is an essential part of developing a professional Web-based user interface. Data validation over the Web is performed in one of two locations: on

etween April 1998 and December 2001, I was granted a 1000-word monthly soapbox on the back page of a competitor’s magazine for Office developers. The chance to rant, complain, chastise,

obility is one of those fields which everybody knows is a definite part of our future, in 5 to 10 years or so. Think again. Amber steps out of her

rior to the .NET Framework, programming encryption was sort of an obstacle race. You first had to find the right algorithm, then set up the key, and finally struggle with

eb services are all about connecting businesses in a standard and secure manner. For a real-life Web service, security is intrinsic to every facet of operation and no party would

ast issue’s article, “Using GDI+ in ASP.NET Web Applications, Part 1“, introduced basic concepts for generating images dynamically to use on Web pages. Keep in mind that the fundamental steps

he complex, component-style development that businesses expect out of modern software developers requires greater design flexibility than the design methodologies of the past. Microsoft’s .NET Framework makes extensive use of

rror handling, paying taxes, and root canals. Each one conjures up a number of negative mental images?some real, some imagined. While I cannot do much to ease the pain of

he .NET framework provides new tools to make deployment of fat client .NET applications easier. This article describes the basics of .NET Auto-Deployment technology and the security mechanism that prevents

Here’s the code: #define offset(a,b) ((int) (&( ((a*)(0)) -> b))) Step by step, here’s what it does: Type-cast 0, or NULL, into a pointer of type a. So a must

XML provides many opportunities to share and store data. One of the most common and simple uses of XML is to use it to store data used by your application.

The HTML CheckBox/RadioButton is selected only by clicking on the control and not the text associated with it. Using , you can bound the text with the CheckBox. For instance,

San Francisco?At a somewhat anemic LinuxWorld 2003 conference in San Francisco, big-corporation Linux supporters showed that Linux has grown up and “gone mainstream,” according to Peter Blackmore, Executive Vice President

This program opens connection with a specified URL and hex-dumps the contents received from an associated input stream. Use this to find out what’s going on with your browser. public