![How to create a Map in Salesforce with Keys = Fields Name and Values = Query Result](/images/news/laptop-salesforce_azzurro.png)
- Written by: Davide Gammone
-
Written by: Davide Gammone
- Category: Programming
-
Also available:
- Hits: 38898
A Map is a collection of Key-Value pairs where each unique key maps to a single value. Keys and values can be any data type—primitive types, collections, sObjects, user-defined types, and built-in Apex types.
![How to convert Salesforce ID from 15 to 18 chars](/images/news/salesforce.jpg)
- Written by: Davide Gammone
-
Written by: Davide Gammone
- Category: Programming
-
Also available:
- Hits: 19302
Salesforce record ID's have 2 forms: 15 chars case sensitive, and 18 chars case insensitive. It's very important that we always use 18 chars ID for all data manipulations.
![How to drop all indexes on an Oracle SQL table](/images/news/oracle-red.jpg)
- Written by: Davide Gammone
-
Written by: Davide Gammone
- Category: Programming
-
Also available:
- Hits: 22286
Long time ago I needed to delete all indexes on an Oracle SQL table. After some test I ended up with the following PL/SQL code: