Blog
- January 18, 2010
- Create table and copy data from one table to another table -MSSQL
Hi All, Today i need to create a table and copy data from one table to another table using MSSQL. I was googling for the same and found a single statement that can do. Please have a look at below code.
select * into test_new from test_old;
This code will create new table named 'test_new' and copies all data from existing 'test_old' table. ...- Read More
- Comments(0)
- January 18, 2010
- Remove duplicate elements from the list using coldfusion
Hi All,
List’s function is very useful in ColdFusion technology. We often use lists in our code but sometime we find duplicate elements in the list and we need to remove it. Here is the simple function to remove duplicate elements from list. Have a look at below code I hope it will helpful for you ...- Read More
- By Bharat Patel
- Comments(0)
- January 18, 2010
- Configuring ColdFusion Scheduled Tasks using the CFSCHEDULE tag
ColdFusion Scheduled Tasks makes it easy to perform regular tasks, such as sending email newsletters, refresh Verity collections etc.
ColdFusion Scheduled Tasks can be configured either programatically (using the CFSCHEDULE tag)or via the ColdFusion Administrator.
Create a ColdFusion template.
Type your CFSCHEDULE code using the UPDATE action.
Save your template inside your ColdFusion application.
Run the template (i.e. open it in your browser)Running the template will either update the ColdFusion scheduled task, or create it if it doesn't already exist. You will now see this listed in the ColdFusion Administrator under Scheduled Tasks ...
- Read More
- Comments(0)
- January 16, 2010
- Remove null element and dangle delimiter from a list
Hello Friends,
In out day to day programming we use list. Sometimes we are getting list with some null element and dangle delimiter so we are applying code for removing null element. Today I have done simple and easy solution for that. I hope it will be helpful for you ...
- Read More
- By Bharat Patel
- Comments(0)
- January 16, 2010
- Savepoint in cftransaction
Hi All,
Coldfusion 8 has added a new attribute that can be used for setting save points for your transactions.Savepoint attribute of cftransaction tag will let us to rollback some portions of transaction. It allows you to backup your transaction to any particular intermediate point.
I'll show you how to use this attribute.
Lets have one query which has select and update operation ...- Read More
- Comments(2)
- January 14, 2010
- ColdFusion.navigate
Hello Friends,
Coldfusion 8 introduce new Ajax feature is ColdFusion.navigate. ColdFusion.navigate is JavaScript function which is displaying output in cfdiv, cfwindow, cfpod or cflayoutarea container. When browsers follow a link that is populated by this function, the link does not replace the page. It’s only populates the control specified by the container attribute ...- Read More
- By Bharat Patel
- Comments(0)
- January 12, 2010
- Eclipse full screen plugin.
Today i realized that i never use the toolbar of eclipse editor. I can hide it by clicking right-clicking the toolbar. The main problem was there if i save the perspective and when i restart my eclipse it doesn't stay hidden. Then i went on a search to get if i could get rid of this thing. Fortunately i got what i needed since last one year and its really very cool and can give you wider space while coding. I'm extremely happy. You may download this plugin from below link. http://code.google.com/p/eclipse-fullscreen/downloads/list ...
- Read More
- Comments(2)
- January 11, 2010
- Hide page content when printing a page
Hello Friends,
Sometimes, we are disabled editing option in a page like [select, copy and paste] also right click disabled because of no one can copied our data. We have to also take care about printing option even disabled print option or hide page content when printing page. There is simple solution for how to hide page content when printing a page ...
- Read More
- By Bharat Patel
- Comments(0)
- January 9, 2010
- CFproperty tag in coldfusion.
CFPROPERTY tag mainly do only two things. Useful in validation for web service return types. Add metadata to components. Generally, cfproperty is very less used - it does not provide any validation for checking datatypes or set any default values to any instance so its presence can be useless in most of the cases. If you are using any webservice and any component type is returning and you want to check type of instances(data) returned from that component , then cfproperty ...
- Read More
- Comments(0)
- January 9, 2010
- Disable right click very easily using jquery
Hello All,
Disabling right click has been really very easy using Jquery. All you need to add below code in your page inside head section ...
- Read More
- Comments(0)