Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, November 26, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Administration Forums - General Administration
Forum to discuss general administration topics for SalesLogix (including LAN & remote topics). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to General Administration | New ThreadView:  Search:  
 Author  Thread: IC Error - SLXGetDate (SLX 7.2.2)
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
IC Error - SLXGetDate (SLX 7.2.2)Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 08 Aug 08 12:54 AM
I am getting an error running the SLX Integrity Checker:

ERROR: 'SLXGETDATE' is not a recognized built-in function name

It occurs as a result of the Marketing - Purge HIST_LEAD test:


=== List SQL =========================
SELECT HIST_LEADID
FROM HIST_LEAD_ADDRESS
WHERE NOT EXISTS(SELECT HIST_LEADID FROM HIST_LEAD
WHERE HIST_LEAD.HIST_LEADID = HIST_LEAD_ADDRESS.HIST_LEADID)

=== Repair SQL =========================
DELETE
FROM HIST_LEAD_ADDRESS
WHERE NOT EXISTS(SELECT HIST_LEADID FROM HIST_LEAD
WHERE HIST_LEAD.HIST_LEADID = HIST_LEAD_ADDRESS.HIST_LEADID)


Does anyone have a clue why?

Interestingly, SLXGetDate returns zero results when Googled!

Thanks for any input
Phil
[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: IC Error - SLXGetDate (SLX 7.2.2)Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 09 Aug 08 3:52 AM
I believe you mean this one:

=== List SQL =========================
SELECT HIST_LEADID, CREATEDATE
FROM HIST_LEAD
WHERE SLXDATEDIFF(dd, CREATEDATE, SLXGETDATE(GMT)) > 30

=== Repair SQL =========================
DELETE
FROM HIST_LEAD
WHERE SLXDATEDIFF(dd, CREATEDATE, SLXGETDATE(GMT)) >

You can workaround this by replacing SLXGetDate with GetDate() or GetUTCDate() instead (i.e. use SQL instead of SLX function).

Is it possible this is not a 7.2.2 system/exe (slxdbchecker.exe)? I ask because I ran that test and it works fine - but I have seen it fail in 7.0.1. Also, what yo uneed to check is the following tables:

SLXOLEDBPLUGIN
SLXOLEDBPLUGINDATA
SLXSQLDEFAULT
SLXSQLSCALARFN

And compare them with a 7.2.2 eval database - as I think you're missing a few entries and updates.


[Reply][Quote]
Bob (RJ)Ledger
Posts: 1103
Top 10 forum poster: 1103 posts
 
Re: IC Error - SLXGetDate (SLX 7.2.2)Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 09 Aug 08 8:42 AM
As Mike pointed out.. these were added to the "Provider Plugin(s)". They are there so that the provider can do the right thing with both SQL Server and Oracle. Getdate is a SQL server thing.. and not in Oracle

SO you need to make sure you ran in the bundle updates as well.
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: IC Error - SLXGetDate (SLX 7.2.2)Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Aug 08 7:13 PM
Thank you Bob and Mike - I repopulated the suggested tables from the Eval db and all now runs fine.

I had been over zealous with a db clean-up script and had neglected to omit these tables from the DELETE ...

Thanks again.

Phil
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/26/2024 3:33:08 PM