Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Deleting Data in cakephp2.x

If we are required to delete a record, cakephp 's model class offers a way for the same. Deleting the record with the perticular id can be done by using delete() function : delete(integer $id = null, boolean $cascade = true); The above statemen

How to remove nil elements from an array in Rails

We can remove nil elements from an array in number of ways. Here i am demonstrating the frequently used methods for removing nil elements from an array. 1> using present method with reject >> [ "a", nil, "b", nil, "c", nil ].reject {|e| !

Inheritance and extension in odoo9

Inheritance and extension in odoo9 is used to set one page to another page and Odoo provides three different mechanisms to extend models in a modular way. 1. creating a new model from an existing one, adding new information to the copy but leaving th

Triggers associated with a table

Triggers in SQL of a table can be find by writing a SQL query and passing table name as its parameter for the query We will just pass the table name for that and it will provide all the triggers made for that table. Ex: select so.name, text fro

Multiple images in background

It is easy to add multiple images in the background by using HTML and CSS code only. we can use one image which will repeat across the top i.e (repeat-x) and the another one will across the entire page or it is simple way to adjust every image posit

Using DISTINCT keyword of sql in cakephp

As we all might know that selecting all records from the database in cakephp can be done using the find("all") method, But there are chances of duplicate records may appear. To remove the duplicate records on selecting all records we use distinct ke

SQL : How to update top N records in a table?

It is a common requirement in SQL server development to update top N records in SQL server.In this blog we will see two approaches to accomplish the same. 1) Using UPDATE with TOP UPDATE TOP (100) Table1 SET field1 = 1 However without an ORDER

running apps over wifi

Getting messed up with usb cables on your desk or tired of buying new usb cables every week ?? Here is a new way for running your apps and debugging them without connecting them to your pc using usb cable. Just a set of commands and you are go

Benefits of Being a Visionary

Being a visionary in whatever you do whether as a CEO, a chief, a group leader, a manager, an entrepreneur, a representative, an expert specialist, a specialist, a dental practitioner, a designer, a legal counselor, a group volunteer, a mentor, an ed

How to access the database with SQL PLUS?

Hello all, I am unable to access my SQL database as I forgot the login details. I have tried with some but getting error "ORA -12560: TNS : protocol adapter error." Kindly suggest me the way to retrieve the details. Is there any command to

1 59 363
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: