<?xml version="1.0" encoding="utf-8"?>

			<rss version="2.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cc="http://web.resource.org/cc/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">

			<channel>
			<title>Against All Odds - MsSql</title>
			<link>http://www.ppshein.net/index.cfm</link>
			<description>A blog for ColdFusion, Android, jQuery, jQueryMobile, Oracle, HL7 and other Web-based programming languages, Web Server like IIS7 and RDMS like Oracle, Microsoft SQL and MySQL.</description>
			<language>en-us</language>
			<pubDate>Wed, 19 Jun 2013 03:40:19 -0700</pubDate>
			<lastBuildDate>Fri, 13 Apr 2012 08:25:00 -0700</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>pyaephyoeshein@gmail.com</managingEditor>
			<webMaster>pyaephyoeshein@gmail.com</webMaster>
			<itunes:subtitle></itunes:subtitle>
			<itunes:summary></itunes:summary>
			<itunes:category text="Technology" />
			<itunes:category text="Technology">
				<itunes:category text="Podcasting" />
			</itunes:category>
			<itunes:category text="Technology">
				<itunes:category text="Tech News" />
			</itunes:category>
			<itunes:keywords></itunes:keywords>
			<itunes:author></itunes:author>
			<itunes:owner>
				<itunes:email>pyaephyoeshein@gmail.com</itunes:email>
				<itunes:name></itunes:name>
			</itunes:owner>
			
			<itunes:explicit>no</itunes:explicit>
			
			
			
			
			
			<item>
				<title>Concatenate numeric and string data field in mssql</title>
				<link>http://www.ppshein.net/index.cfm/2012/4/13/Concatenate-numeric-and-string-data-field-in-mssql</link>
				<description>
				
				Today I&apos;ve found how to concatenate numeric and string format in mssql. As we all know, concatenate two strings in mssql is very simple and well-known formula as follow

&lt;code&gt;
SELECT First_Name + &apos;, &apos; + Last_Name FROM myTable
&lt;/code&gt;
				 [More]
				</description>
				
				
				<category>MsSql</category>
				
				<pubDate>Fri, 13 Apr 2012 08:25:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2012/4/13/Concatenate-numeric-and-string-data-field-in-mssql</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Replace function in SQL</title>
				<link>http://www.ppshein.net/index.cfm/2012/3/5/Replace-function-in-SQL</link>
				<description>
				
				Today I&apos;ve found how Replace function is useful in SQL. Because I need to update all columns of every table in our database. Using Replace is very simple.

&lt;code&gt;
UPDATE &lt;TABLE&gt; SET
columnText = REPLACE (columnText, &apos;StringToFind&apos;, &apos;StringToReplace&apos;)
&lt;/code&gt;

Above query is correct for nvarchar field but when I&apos;m trying to replace for ntext and text field, it&apos;s getting error that &quot;replace isn&apos;t ok for text field&quot;. That&apos;s why I&apos;m goggling and found nice example as follow.

&lt;code&gt;
UPDATE &lt;Table&gt; SET columnText =
REPLACE(SUBSTRING(columnText, 1, DATALENGTH(columnText)), &apos;StringToFind&apos;,&apos;StringToReplace&apos;) 
&lt;/code&gt;
				
				</description>
				
				
				<category>MsSql</category>
				
				<pubDate>Mon, 05 Mar 2012 21:43:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2012/3/5/Replace-function-in-SQL</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Get free exam simulator from uCertify</title>
				<link>http://www.ppshein.net/index.cfm/2011/11/29/Get-free-exam-simulator-from-uCertify</link>
				<description>
				
				&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
	&lt;a href=&quot;http://www.ucertify.com/&quot; target=&quot;_blank&quot;&gt;uCertify&lt;/a&gt;, leading IT certification provider company is willing to spring for a license, that&amp;#39;s a full license, for any of their test prep kits for one of my blog readers. The only requirement to get the full license is that you write a review of the software, within 30 days, that will be a guest post here on this blog.&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	So, I am offering this to all of my blog readers. Today is Nov 30, 2011. To get a chance to win the prep kit license, &lt;a href=&quot;http://www.ucertify.com/download/&quot; target=&quot;_blank&quot;&gt;go to the ucertify&lt;/a&gt; site and take a look at the available tests. Decide which you would like to take.&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	Once you&amp;#39;ve made your choice, come back here and post a comment about which you would like and why you want to take it. Doesn&amp;#39;t have to be anything big; just a couple of sentences is fine.&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	Make sure you either leave a real email address or you are signed in when you leave the comment. You don&amp;#39;t need to leave your email address in the text of your comment if you are signed in. I can send you a message via the it toolbox messaging system in that case.&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	I will randomly choose the winner from the comments on Dec 10, 2011. So, you have about 10 days to post a comment.&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	Once I have notified the winner and they agree to review the software in a guest post here on this blog, I will give the info to Ucertify and they&amp;#39;ll hand out the license.&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	The guest post doesn&amp;#39;t need to be huge. At least a few hundred words which is just a page or two of double spaced text. As an example, this &amp;nbsp;blog post is over 400 words. I&amp;#39;ll be glad to proofread and edit it if you would like me to mail me (pyaephyoeshein[at]gmail[dot]com).&lt;/div&gt;
				
				</description>
				
				
				<category>Oracle</category>
				
				<category>PHP</category>
				
				<category>Coldfusion</category>
				
				<category>uCertify</category>
				
				<category>MsSql</category>
				
				<pubDate>Tue, 29 Nov 2011 20:15:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2011/11/29/Get-free-exam-simulator-from-uCertify</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Oracle 11g: SQL Fundamentals (1Z0-051) exam guide</title>
				<link>http://www.ppshein.net/index.cfm/2011/10/19/1Z0051-Database-11g-SQL-Fundamentals-exam-guide</link>
				<description>
				
				&lt;p&gt;
	In this 2011, I feel like myself to take almost certification of what I know and what I&amp;#39;m using in my development space. Being programmer, I didn&amp;#39;t say almost certificates are needed but just like non-computer science graduated like me, those certificate are very needed. Because almost people won&amp;#39;t know why I&amp;#39;m surviving in IT without having computer science graduate. That&amp;#39;s why I believe I&amp;#39;m not wrong to take certificate.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	When I was in Myanmar, we use Microsoft SQL as our database because which is simple and easy to use with their UI. When I started working in Singapore (2009), our company use Oracle as database system instead of Microsoft SQL. Since that time, I&amp;#39;m addictive at Oracle because of the way of writing stored procedure, functions and views. That&amp;#39;s why I think I need to have at least one Oracle certificate to let people know that I know Oracle.&lt;/p&gt;
&lt;p&gt;
	That&amp;#39;s why I decided to take &lt;strong&gt;1Z0-051&lt;/strong&gt; exam of Oracle. It&amp;#39;s called &lt;strong&gt;SQL&amp;nbsp;Fundamentals exam&amp;nbsp;&lt;/strong&gt;which is suitable for me to take as beginner state of Oracle developer. Below is the exam topic of &lt;strong&gt;1Z0-051&lt;/strong&gt;.&lt;/p&gt;
				 [More]
				</description>
				
				
				<category>Oracle</category>
				
				<category>Coldfusion</category>
				
				<category>Review</category>
				
				<category>MsSql</category>
				
				<pubDate>Wed, 19 Oct 2011 06:51:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2011/10/19/1Z0051-Database-11g-SQL-Fundamentals-exam-guide</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Why Coldfusion 9 cannot connect SQL 2005 Express?</title>
				<link>http://www.ppshein.net/index.cfm/2011/4/23/Why-Coldfusion-9-cannot-connect-SQL-2005-Express</link>
				<description>
				
				In my life, mySQL database is very touch to use. Because it&apos;s very complicated to add or remove data column, rename the table name and inserting demo data without installing phpMyAdmin. That&apos;s why I decided to remove mySQL as my project database and to install SQL 2005 server Express version. 

So, download both of SQL 2005 Server and also management studio express version. Honestly, installing of SQL 2005 express version is very simple and easy. Because, my before time I&apos;ve used to develop Coldfusion Project with SQL server. That&apos;s why I can say it&apos;s simple. Unfortunately, I encountered the following error when I tried to connection SQL 2005 server in Coldfusion Administrator.

&lt;img src=&quot;http://www.ppshein.net/images/cf9_error.jpg&quot; /&gt;
				 [More]
				</description>
				
				
				<category>MySql</category>
				
				<category>Coldfusion</category>
				
				<category>MsSql</category>
				
				<pubDate>Sat, 23 Apr 2011 22:16:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2011/4/23/Why-Coldfusion-9-cannot-connect-SQL-2005-Express</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Display the latest record with descending in Oracle</title>
				<link>http://www.ppshein.net/index.cfm/2011/2/22/Display-the-latest-record-with-descending-in-Oracle</link>
				<description>
				
				This week is very busy time for me. Because I have to implement &lt;a href=&quot;http://www.hl7.org/&quot; target=&quot;_blank&quot;&gt;HL7&lt;/a&gt; segment with Oracle Stored Procedure. As we all know, Oracle SQL command isn&apos;t that same with Microsoft SQL. That&apos;s why some of command are very complicated for me to implement. Today, I need to retrieve the only one latest record from table with Oracle. In Coldfusion, it&apos;s very easy. To put &lt;b&gt;maxrows = &quot;1&quot;&lt;/b&gt; and descending in query as follow:

&lt;code&gt;
&lt;cfquery name=&quot;qryGetLatest&quot; datasource=&quot;myDSN&quot; maxrows=&quot;1&quot;&gt;
	SELECT U_ID FROM TBL_USER
	ORDER BY U_ID DESC
&lt;/cfquery&gt;
&lt;/code&gt;

In Microsoft, it&apos;s very simple. To put &lt;b&gt;TOP&lt;/b&gt; command and descending in query as follow:

&lt;code&gt;
SELECT TOP U_ID FROM TBL_USER
ORDER BY U_ID DESC
&lt;/code&gt;

In Oracle, it&apos;s not that easy. If we put &lt;b&gt;ROWNUM&lt;/b&gt; and descending in query, the first record will be returned. Because &lt;b&gt;ROWNUM&lt;/b&gt; doesn&apos;t work with &lt;b&gt;Order By&lt;/b&gt; descending in query. That&apos;s why we need to do with query with query formula in Oracle as follow:

&lt;code&gt;
SELECT U_ID FROM
	(SELECT U_ID FROM TBL_USER
	ORDER BY U_ID DESC) CLONE_USER
WHERE ROWNUM = 1
&lt;/code&gt;

Phweee...!!! Oracle crack my brain again. :)
				
				</description>
				
				
				<category>Oracle</category>
				
				<category>HL7</category>
				
				<category>Coldfusion</category>
				
				<category>MsSql</category>
				
				<pubDate>Tue, 22 Feb 2011 03:11:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2011/2/22/Display-the-latest-record-with-descending-in-Oracle</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Simple Learning about Oracle Tuning</title>
				<link>http://www.ppshein.net/index.cfm/2011/1/6/Simple-Learning-about-Oracle-Tuning</link>
				<description>
				
				Today I have to retrieve data from the largest table of my project in Oracle. Approximately, this table has more than 1 million records and need to retrieve data carefully when we need. Now what I need to do is to retrieve negative quantity from this table. 

There are two ways to retrieve negative quantity from the table. One is systemically and second is simple way.

&lt;code&gt;
&lt;cfquery name=&quot;CheckOne&quot; datasource=&quot;myDSN&quot;&gt;
	select * from nh_inv_trx_tmp
	where transaction_date &lt; &apos;7-Jan-2008&apos;
	and abs(quantity) &lt;&gt; quantity
&lt;/cfquery&gt; 
&lt;/code&gt;

&lt;code&gt;
&lt;cfquery name=&quot;CheckTwo&quot; datasource=&quot;myDSN&quot;&gt;
	select * from nh_inv_trx_tmp
	where transaction_date &lt; &apos;7-Jan-2008&apos;
	and quantity &lt; 0
&lt;/cfquery&gt;
&lt;/code&gt;
				 [More]
				</description>
				
				
				<category>Oracle</category>
				
				<category>MySql</category>
				
				<category>Coldfusion</category>
				
				<category>MsSql</category>
				
				<pubDate>Thu, 06 Jan 2011 17:47:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2011/1/6/Simple-Learning-about-Oracle-Tuning</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Kill Query Session in Oracle</title>
				<link>http://www.ppshein.net/index.cfm/2011/1/4/Kill-Query-Session-in-Oracle</link>
				<description>
				
				In Microsoft SQL, we can trace currently which SQL query takes execution time and load of each SQL query in SQL Profiler. In Oracle, what should we do? It&apos;s not that simple like Microsoft SQL. Open TOAD and login as SYSTEM authentication. Then type following statement into TOAD SQL.

&lt;code&gt;
&lt;!---
MYDSN is simple database of mine.
Put your database name instead of MYDSN.
---&gt;

SELECT * FROM V$SESSION WHERE STATUS = &apos;ACTIVE&apos; AND USERNAME = &apos;MYDSN&apos;
&lt;/code&gt;

Run this query. After that, all active query will be displayed and note which query execution time takes so long.
				 [More]
				</description>
				
				
				<category>Oracle</category>
				
				<category>MySql</category>
				
				<category>MsSql</category>
				
				<pubDate>Tue, 04 Jan 2011 16:35:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2011/1/4/Kill-Query-Session-in-Oracle</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Copy two tables in Oracle</title>
				<link>http://www.ppshein.net/index.cfm/2010/12/30/Copy-two-tables-in-Oracle</link>
				<description>
				
				I found that so many query statements are different between in Microsoft SQL and Oracle. To copy two table in the same database with Microsoft SQL, I normally use &lt;b&gt;SELECT INTO&lt;/b&gt; statement as follow.

&lt;code&gt;
&lt;!--- It&apos;s for all data fields ---&gt;
&lt;cfquery name=&quot;qryCopy&quot; datasource=&quot;myDSN&quot;&gt;
	SELECT *
	INTO  tblPerson_Backup
	FROM tblPerson
&lt;/cfquery&gt;

&lt;!--- For specific data field ---&gt;
&lt;cfquery name=&quot;qryCopy&quot; datasource=&quot;myDSN&quot;&gt;
	SELECT NAME, DOB, SEX
	INTO  tblPerson_Backup
	FROM tblPerson
&lt;/cfquery&gt;
&lt;/code&gt;
				 [More]
				</description>
				
				
				<category>Oracle</category>
				
				<category>Coldfusion</category>
				
				<category>MsSql</category>
				
				<pubDate>Thu, 30 Dec 2010 16:44:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2010/12/30/Copy-two-tables-in-Oracle</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>ROWNUM in Oracle and maxrows in Coldfusion</title>
				<link>http://www.ppshein.net/index.cfm/2010/12/21/ROWNUM-in-Oracle-and-maxrows-in-Coldfusion</link>
				<description>
				
				Normally, I always use &lt;strong&gt;maxrows&lt;/strong&gt; attribute of CFQuery when I want to display limited records from table. Sometimes I want to display limited records from table with built-in Microsoft SQL command like &lt;strong&gt;TOP&lt;/strong&gt; in Oracle. Yesterday I found that there is &lt;strong&gt;ROWNUM&lt;/strong&gt; command in Oracle which can display limited records like maxrows in CF and Top in SQL. That&apos;s why I feel happy to use this command in my query. On the other hand, I want to test the performance between maxrows and rowcount. 

So I&apos;ve tested as follow

&lt;strong&gt;With maxrows&lt;/strong&gt;
&lt;code&gt;
&lt;cfquery name=&quot;qryPerson&quot; datasource=&quot;myDSN&quot;  maxrows=&quot;100&quot;&gt;
	select NAME, DOB from nh_person
&lt;/cfquery&gt;
&lt;/code&gt;

Query execution time for above statement is &lt;b style=&quot;font-size:15pt&quot;&gt;31ms&lt;/b&gt; and debugging output is as follow
&lt;img src=&quot;http://www.ppshein.net/images/maxrows.PNG&quot; /&gt;
				 [More]
				</description>
				
				
				<category>Oracle</category>
				
				<category>Coldfusion</category>
				
				<category>CF Tag</category>
				
				<category>MsSql</category>
				
				<pubDate>Tue, 21 Dec 2010 16:55:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2010/12/21/ROWNUM-in-Oracle-and-maxrows-in-Coldfusion</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Difference between implicit and explicit cursors in Oracle</title>
				<link>http://www.ppshein.net/index.cfm/2010/9/21/difference-between-implicit-and-explicit-cursors-in-oracle</link>
				<description>
				
				Today, I need to develop simple function in Oracle about data retrieving. As I mention in previous post, I&apos;m very new to Oracle and don&apos;t know much of Oracle command and attributes. That&apos;s why I seek some information and develop simple function for it. 
In some information, I found two way to insert query data into variable as follow:

first one

&lt;code&gt;
DECLARE
    myvar varchar2(50);
BEGIN
    SELECT fieldone into myvar FROM tbl_one WHERE id = 1;
END;

&lt;/code&gt;

second one

&lt;code&gt;
DECLARE
    myvar varchar2(50);
    CURSOR L1 IS
    SELECT fieldone FROM tbl_one WHERE id = 1;
BEGIN
    OPEN L1;
    FETCH L1 INTO myvar;
    CLOSE L1;
END;

&lt;/code&gt;
				 [More]
				</description>
				
				
				<category>Oracle</category>
				
				<category>MsSql</category>
				
				<pubDate>Tue, 21 Sep 2010 04:15:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2010/9/21/difference-between-implicit-and-explicit-cursors-in-oracle</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Create Function in Oracle</title>
				<link>http://www.ppshein.net/index.cfm/2010/9/18/create-function-in-oracle</link>
				<description>
				
				I&apos;m very new to Oracle because I&apos;m start using Oracle when I reach here. When I was in Myanmar, our RDBMS is Microsoft SQL. In MsSQL, GUI is very simple and for example: if you need your ID as auto increment, set identity to true/yes in Ms.SQL properties. In Oracle, we need to create trigger for &lt;a href=&quot;/post.cfm/set-autoincrement-in-oracle&quot; target=&quot;_blank&quot;&gt;auto increment&lt;/a&gt;. Today, I feel like myself to create Function in Oracle for convert number format to &lt;a href=&quot;/post.cfm/convert-to-ordinal-format&quot; target=&quot;_blank&quot;&gt;Ordinal Format&lt;/a&gt; which I already created in CF UDF. Why I created the same Function in Orcale is because I want to generate report by using &lt;a href=&quot;http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7c1d.html&quot; target=&quot;_blank&quot;&gt;cfreport &lt;/a&gt;tag.

Here is my simple Function

&lt;code&gt;
CREATE OR REPLACE Function ConvertOrdinal
    --Input parameter from outside
   ( cycle IN varchar2 )
   RETURN varchar2
IS
    --Output parameter from function
    ordinalformat varchar2(5);
BEGIN
    if ((mod(cycle,10) = 1) AND (mod(cycle,100) = 1))then
         ordinalformat := &apos;st&apos;;
    elsif
       ((mod(cycle,10) = 2) AND (mod(cycle,100) = 2))then
         ordinalformat := &apos;nd&apos;;        
    elsif
       ((mod(cycle,10) = 3) AND (mod(cycle,100) = 3))then
         ordinalformat := &apos;rd&apos;;                     
    else
         ordinalformat := &apos;th&apos;;
    end if;
RETURN cycle || &apos; &apos; || ordinalformat;

EXCEPTION
WHEN OTHERS THEN
      raise_application_error(-20001,&apos;An error was encountered - &apos;||SQLCODE||&apos; -ERROR- &apos;||SQLERRM);
END;
&lt;/code&gt;

 
Execute this function in PL/SQL

&lt;code&gt;
SELECT ConvertOrdinal(&apos;1&apos;) CO FROM DUAL
&lt;/code&gt;
 
Output will display as follow
&lt;code&gt;
CO 
====
1 st
&lt;/code&gt;
				
				</description>
				
				
				<category>Oracle</category>
				
				<category>MsSql</category>
				
				<pubDate>Sat, 18 Sep 2010 19:53:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2010/9/18/create-function-in-oracle</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>SQL Injection attacks by Store Procedure</title>
				<link>http://www.ppshein.net/index.cfm/2010/8/27/sql-injection-attacks-by-store-procedure</link>
				<description>
				
				I was in dilemma in these days because &lt;a title=&quot;http://www.planet.com.mm&quot; href=&quot;http://www.planet.com.mm&quot; target=&quot;_blank&quot;&gt;our website&lt;/a&gt; has been attacked by SQL Injection Attacks by the way of using store procedure command in URL variable. Finally, I can prevent this one cannot attack to our site by using like that anymore. The one use following store procedure command the after &quot;?&quot; of your website URL.
&lt;code&gt; 
	DECLARE @S NVARCHAR(4000)
	SET @S=CAST(0x4400450043004C00 ... 6F007200 AS NVARCHAR(4000))
	EXEC(@S) 
	
	DECLARE @S VARCHAR(4000)
	SET @S=CAST(0x4445434C41524520 ... 736F7220 AS VARCHAR(4000))
	EXEC(@S) 

	DECLARE @S CHAR(4000)
	SET @S=CAST(0x4445434C41524520 ... 736F7220 AS CHAR(4000))
	EXEC(@S)
&lt;/code&gt;

The above three variants have been injected through an HTTP GET: 
Decoding the binary string to its textual form reveals the T-SQL script below, which has been slightly formatted and edited for purposes of clarity. For those who are not proficient in the syntax, the script simply creates a cursor through which it browses for all columns of certain data types (textual) in all user-defined tables underlying the database. Next, the T-SQL script affixes a JavaScript reference (to the malicious script) to the current values contained in each such column.
				 [More]
				</description>
				
				
				<category>CF Function</category>
				
				<category>Coldfusion</category>
				
				<category>CF Tag</category>
				
				<category>MsSql</category>
				
				<pubDate>Fri, 27 Aug 2010 06:32:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2010/8/27/sql-injection-attacks-by-store-procedure</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Electronic Press Scrutiny &amp; Registeration System</title>
				<link>http://www.ppshein.net/index.cfm/2010/8/27/electronic-press-scrutiny-registeration-system</link>
				<description>
				
				&lt;img class=&quot;alignnone size-full wp-image-188&quot; title=&quot;EPSR&quot; src=&quot;http://ppshein.files.wordpress.com/2009/07/epsr.gif&quot; alt=&quot;EPSR&quot; width=&quot;480&quot; height=&quot;192&quot; /&gt;

This website called &quot;Electronic Press Scrutiny &amp;amp; Registeration System&quot; is just for Myanmar Press Scrutiny &amp;amp; Registeration System. It&apos;s just offline program. This program supports our clients to send their publications step by step through this program and comment to these.

Systems :

IIS, CFMX, SQL 2005
				
				</description>
				
				
				<category>Project</category>
				
				<category>Coldfusion</category>
				
				<category>MsSql</category>
				
				<pubDate>Fri, 27 Aug 2010 06:32:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2010/8/27/electronic-press-scrutiny-registeration-system</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Google App Engine data manipulation with Coldfusion</title>
				<link>http://www.ppshein.net/index.cfm/2009/12/2/google-app-engine-data-manipulation-with-coldfusion</link>
				<description>
				
				Today, I&apos;ve recently developed one simple project with Coldfusion in Google App Engine. To manipulate data in Google App Engine is complicated because we can use only &lt;a href=&quot;http://code.google.com/appengine/docs/python/datastore/gqlreference.html&quot; target=&quot;_blank&quot;&gt;GQL&lt;/a&gt; (Google Query Language) instead of SQL. Likewise, displaying data in Google App Engine with OpenBD is quite different with Adobe Coldfusion. That&apos;s why, it&apos;s too hard to handle to everything. Ok, I&apos;ll show how to create Table in Google App Engine and retrieve data either.

Create Table and Insert Data

&lt;code&gt;
&lt;cfscript&gt;
	car = StructNew();     
	car[&quot;Class&quot;] = &quot;Sedan-Midsize&quot;;     
	car[&quot;Make&quot;]  = &quot;Audi&quot;;     
	car[&quot;Model&quot;] = &quot;A6&quot;;     
	keyString = googleWrite(car, &quot;MyCarLot&quot;); 
&lt;/cfscript&gt;
&lt;/code&gt;


Ref : &lt;a href=&quot;http://wiki.openbluedragon.org/wiki/index.php/GoogleAppEngine:Datastore&quot; target=&quot;_blank&quot;&gt;http://wiki.openbluedragon.org/wiki/index.php/GoogleAppEngine:Datastore&lt;/a&gt;

Display data

&lt;code&gt;
&lt;cfquery dbtype=&quot;google&quot; name=&quot;QryCar&quot;&gt;     
	select from MyCarLot 
&lt;/cfquery&gt; 
	
&lt;cfloop from=&quot;1&quot; to=&quot;#ArrayLen(QryCar)#&quot; index=&quot;i&quot;&gt;     
	&lt;cfoutput&gt; #getAllTags[i].Class#  &lt;/cfoutput&gt; 
&lt;/cfloop&gt;
&lt;/code&gt;
				
				</description>
				
				
				<category>Eclipse</category>
				
				<category>Coldfusion</category>
				
				<category>Google App Engine</category>
				
				<category>OpenBD</category>
				
				<category>MsSql</category>
				
				<pubDate>Wed, 02 Dec 2009 06:32:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2009/12/2/google-app-engine-data-manipulation-with-coldfusion</guid>
				
				
			</item>
			
		 	
			</channel></rss>