Marketing: Please delete all leads with status of "Archive"
Yes, we could this 200 records a time using the Salesfoce mass delete tool. Yuch!
Or, we could do it in one line of SQLForce.
DELETE FROM Lead WHERE status='Archive';
Two seconds of work, 20 seconds waiting for Salesforce, and the 6000 records are history.
Musing, tips, tricks, on programming and farming. I am a technologist (CIO/CTO) at a pharmaceutical research company who also loves to grow fruits/nuts/berries/grapes/etc. Cyberspace plus dirt -- a great combination!
Tuesday, May 31, 2011
Saturday, April 30, 2011
A Viewer for CopyForce?
It's been a good month for CopyForce downloads. Thanks to the people who have sent supportive emails. The next update will be sometime in July since other than a few issues with connection strings and one issue with TOAD (not displaying multi-byte characters) nothing significant has come up.
In my spare time I am working on a Apache/Tomcat war that provides read only access to any database created by CopyForcePro. Out of the box pages can be jsp or XML mark-up. The resulting screens are similar enough to what people are accustom to (ditto the behavior) that I doubt that extra user training will be necessary. Other than cost savings, other benefits include speed (loads faster), and the ability to create layouts using just markup that are not possible with force (example: When viewing a product, show a related list of all accounts that own the product -- just using markup). I am looking for volunteers to give it a try -- the only requirements Apache/Tomcat and a database created with CopyForcePro
It's a huge family activity month for me in May (and June) so my responsiveness may lag a bit (2 graduations, a big anniversary, two birthdays, and a long family trip.
Thanks for your support.
In my spare time I am working on a Apache/Tomcat war that provides read only access to any database created by CopyForcePro. Out of the box pages can be jsp or XML mark-up. The resulting screens are similar enough to what people are accustom to (ditto the behavior) that I doubt that extra user training will be necessary. Other than cost savings, other benefits include speed (loads faster), and the ability to create layouts using just markup that are not possible with force (example: When viewing a product, show a related list of all accounts that own the product -- just using markup). I am looking for volunteers to give it a try -- the only requirements Apache/Tomcat and a database created with CopyForcePro
It's a huge family activity month for me in May (and June) so my responsiveness may lag a bit (2 graduations, a big anniversary, two birthdays, and a long family trip.
Thanks for your support.
Friday, March 25, 2011
CopyForce Update -- Full UTF-8 Support
Thanks for the high level of activity this month. It was another record for downloads.
This month full UTF-8 support is added for all target databases. In addition, the jars have been tested against Spring '11.
The only type of defect seen this month was with connection strings. JDBC connection strings can be just plain tricky. Drop me a line if you have a problem. I have tested against Oracle 9 thru 10 and SQL Server 2005 and forward.
After a week of lovely weather we dived back into snow this morning. What a bummer. I had hoped to ride my bike this weekend.
This month full UTF-8 support is added for all target databases. In addition, the jars have been tested against Spring '11.
The only type of defect seen this month was with connection strings. JDBC connection strings can be just plain tricky. Drop me a line if you have a problem. I have tested against Oracle 9 thru 10 and SQL Server 2005 and forward.
After a week of lovely weather we dived back into snow this morning. What a bummer. I had hoped to ride my bike this weekend.
Saturday, February 19, 2011
Bad CopyForce jars posted....just replaced.
Thanks to Amarnath Venkataswamy I discovered that the last CopyForce downloads I posted to google code were bad. The short reason -- I fat fingered a thread.join() line in the CopyForce.main() method. Bummer! My unit tests call nearly everything at 98% coverage EXCEPT the main().
If you are one of the ~35 people that downloaded it last week, all versions of CopyForce will simply terminate with no error message.
If you are one of the ~35 people that downloaded it last week, all versions of CopyForce will simply terminate with no error message.
Tuesday, February 15, 2011
I Love sqlforce
This morning the head of our consulting division decided to change the stage names used by opportunities. Before taking this step, I wanted to take a look at what stage names have actually been used by sales staff.
Case closed.
If I was working with a regular SQL database, I would simply run:
SELECT DISTINCT stageName Opportunity
How can I run the same query on a Force database? Easy....start sqlforce and enter:SELECT DISTINCT stageName from Opportunity
Case closed.
Friday, February 11, 2011
Updates to CopyForce
Monthly updates to SqlForce, CopyForce, etc. were posted on http://code.google.com/p/sqlforce/ this morning.
The two issues reported this month are fixed in the updates:
The two issues reported this month are fixed in the updates:
- encrypted fields now work.
- GMT DateTime conversion is now correct.
It has been a healthy month for downloads. CopyForceSQLServer is the most popular download but CopyForceOracle is gaining ground.
We are nearly ready to launch a commercial version of the code -- CopyForcePro. The primary advantages of the commercial version will be usability/accessability, support, and secure packaging for production environments. The core codes will stay open source under the EPL.
For operational use, I am finding it much easier to load a single configuration file and immediately restore my setup:
Please drop me a line at gsmithfarmer@gmail.com. The occasional "it's working well for us" is always good news (as is any defect report).
Wednesday, January 5, 2011
Copy Salesforce to a SQL/Server Financal System.
We wanted to have a copy of our Salesforce price books available on our financial system but did not want to write custom code to do it. We did the schema creation and copy in 5 minutes using CopyForceSqlServer (4 minutes development + 1 minute execution time).
How simple can it get!
SET SFDC=production
SET SQLSERVER=//localhost;databaseName=MyCompanyTools;username=salesforce;password=miracle;
java -jar CopyForceSqlServer.jar -salesforce %SFDC% -sqlserver "%SQLSERVER%" -include product2,pricebook2,pricebookentry -schema -querybatch 1000
Later we will set this up as a CRON job to keep our financial system up to date automatically.
How simple can it get!
SET SFDC=production
SET SQLSERVER=//localhost;databaseName=MyCompanyTools;username=salesforce;password=miracle;
java -jar CopyForceSqlServer.jar -salesforce %SFDC% -sqlserver "%SQLSERVER%" -include product2,pricebook2,pricebookentry -schema -querybatch 1000
Later we will set this up as a CRON job to keep our financial system up to date automatically.
Subscribe to:
Posts (Atom)
