The database tag has no wiki summary.
4
votes
2answers
85 views
Can I prevent an insert to be rolled back even if my class (later) runs into an exception?
I do some custom logging in my code which basically means I write and update sobject records that contain custom log information.
The problem is whenever an exception is thrown in my class the ...
0
votes
0answers
23 views
Using Database.DeleteResult in custom code
How can I use Database.DeleteResult for custom functionality.
I'd like to be able to construct it, set and get its fields.
5
votes
1answer
54 views
Why does the documentation stipulate that a many-to-many object relationship requires two master-detail relationships?
In theory you can model a many-to-many relationship using lookup fields exclusively or in combination with a master-detail field. However the documentation only mentions master-detail fields.
What ...
4
votes
2answers
55 views
Values of formula fields using NOW() and TODAY() actually stored in the database?
Just for the sake of argument, if I had the following formula field:
MyObject__c.FormulaField__c = DAY(TODAY())
What is the actual value of this field stored in the database, will the value ...
4
votes
2answers
145 views
Is manual Database.setSavepoint() and rollback needed on Trigger exception?
When something wents wrong in my synchronous trigger do I have to manually take care of this by before making a Database.setSavepoint() and rollback in the catch statement?
Or is Salesforce.com ...
1
vote
0answers
36 views
Obtaining users data after accepting / allowing a Chatter Application
I'm slowly on the road to completing my PHP application, the final piece to my knowledge is figuring out how, after a user accepts the use of an Application (I think I'm using a remote app atm), to ...
2
votes
1answer
110 views
Which free/commercial Salesforce To SQL app should I use? [closed]
I am looking for an easy to use app to synchronize (one-way) Salesforce data to a SQL database. I don't need mapping functionality that products like Jitterbit, Boomi and Informatica offer for a lot ...
0
votes
1answer
208 views
What the best way to store data from Javascript in “salesforce”
I'm writing a small analytics app in Javascript and want to store data in a database. Since I am new to salesforce I can't figure out the best way to do this:
a normal DB such as heroku (postgresql) ...
-1
votes
2answers
173 views
How to define self relationship in salesforce
I am newbie to salesforce.Can some one explain how can i create self relationship in salesforce. I know salesforce doesn't provide out of the box this relationship.
My Scenario is i have a Company ...
3
votes
3answers
328 views
What are the options for Data Storage size in salesforce instance is reached or near limit?
Hi All please share your experience related to Data Storage size in salesforce instance is reached ? Did you increase data size from salesforce (quite expensive option) or any other option like ...
3
votes
3answers
132 views
When should I start worring about the number of Records on a single object in a SF Org?
Just completing a project that has been deployed into a global SF Org. We have one object in particular that is likely to require a large number of records and is a related list on most pages.
At ...
2
votes
2answers
183 views
Using the Entity–attribute–value model for sparse data
I'm looking at a design specification of a work request object that would if implemented purely as a standard salesforce object would cause very sparse columns requiring tens of recordtypes and ...
4
votes
2answers
110 views
How to consolidate dates to parent object?
On Account object I have Custom field: Support_end_date
I have a custom object called: license. On license I have a custom field called: license_end_date. Each license has a parent object: Account ...
5
votes
4answers
586 views
Printable ERD from Salesforce that you can Edit
I built a solution for a customer and I want to pull the ERD from the Salesforce instance and have the ability to edit it.
I know there are a few tools and the Schema builder in Salesforce but none ...
2
votes
1answer
117 views
Can you query/write to a MySQL database from apex code?
Is it possible to work with a MySQL database directly from Salesforce? If not, is the main approach to create some sort of web service to sit in the middle between the two?

