SlideShare a Scribd company logo
1 of 31
Download to read offline
(c) 2015 Independent SAP TechnicalAnnual Conference, 2015
SQL AnywhereTipsandTricks
Jason Hinsperger
Product Manager, SAP
(c) 2015 Independent SAP TechnicalAnnual Conference, 2015
SQL AnywhereTipsandTricks
Autocommit
C External Environments
Dedicated Tasks
sp_list_directory and friends
Variables in USING and AT clauses
(c) 2015 Independent SAP TechnicalAnnual Conference, 2015
AUTOCOMMIT
(c) 2015 Independent SAP TechnicalAnnual Conference, 2015
Autocommit
Autocommit Off Chained
On
Autocommit On Chained
Off
IT DEPENDS!
For TDS connections Autocommit on/off is effectively equivalent to
Chained off/on
 jConnect, Open Client
For other connections, Autocommit and Chained are completely
different
 ODBC, SQLA JDBC, .NET, …
Chained mode controls whether the server does a commit after each
statement
(c) 2015 Independent SAP TechnicalAnnual Conference, 2015
Autocommit VSChained(ODBC Example)
 CREATE PROCEDURE p( IN id INT, OUT numrows INT )
 BEGIN
 SAVEPOINT sv;
 INSERT INTO tab2 SELECT * FROM tab1 WHERE tab1.tabid < id;
 SELECT count(*) INTO numrows FROM tab2;
 ROLLBACK TO SAVEPOINT sv;
 END
If Autocommit is ON (driver default) and Chained is OFF (database
default), then executing the above procedure via ODBC does not
change the contents of tab2
If Autocommit is either ON or OFF and Chained is ON, then executing the
above procedure via ODBC does change the contents of tab2 AND will
generate an error
(c) 2015 Independent SAP TechnicalAnnual Conference, 2015
TurningAutocommit Off
So when we say “turn autocommit off” we actually mean make the API
call on the client
 ODBC: SQLSetConnectAttr( … SQL_ATTR_AUTOCOMMIT … )
 JDBC: Connection.setAutoCommit( false ) (regardless of whether you
are using jConnect or SQLA JDBC)
 …
AND avoid messing with chained mode
(c) 2015 Independent SAP TechnicalAnnual Conference, 2015
C EXTERNAL ENVIRONMENTS
(c) 2015 Independent SAP TechnicalAnnual Conference, 2015
C External EnvironmentsvsIn Process
External StoredProcedures
SQL Anywhere has had the ability to load user provided dlls and shared
objects for a long time
More recently these dlls and shared objects can now be loaded and
executed outside of the server using C External Environments
Loading these dlls and shared objects outside of the server provides:
 Improved server stability
 Greater security of data
 Mixing and matching of server and dll/shared object bitness
 The ability to return result sets from the external stored procedure
 The ability to make server side calls via ODBC or ESQL
 Easier debugging of external dll/shared object
(c) 2015 Independent SAP TechnicalAnnual Conference, 2015
C External EnvironmentsvsIn Process
External StoredProcedures
Changing an external stored procedure from in process to out of process
is as simple as adding a LANGUAGE clause
 CREATE PROCEDURE myextproc(…) EXTERNAL NAME
‘MyExternalProc@myprocs.dll’
 CREATE PROCEDURE myextproc(…) EXTERNAL NAME
‘MyExternalProc@myprocs.dll’ LANGUAGE C_ODBC64
EXTERNAL NAME clause can contain both Unix and Windows definitions
– exactly the same as the in process EXTERNAL NAME clause
(c) 2015 Independent SAP TechnicalAnnual Conference, 2015
C External Environments- DEMO
(c) 2015 Independent SAP TechnicalAnnual Conference, 2015
C External EnvironmentsvsIn-Process
External StoredProcedures
Things to take into consideration when deciding to load dlls and shared
object in C External Environment:
 Time required to make a call out of process is significantly greater than
making an in process call
 Machine resource utilization is higher due to separate process per
connection
 Sharing of data across connections is not allowed
(c) 2015 Independent SAP TechnicalAnnual Conference, 2015
DEDICATED TASKS
(c) 2015 Independent SAP TechnicalAnnual Conference, 2015
Scenario
I have a large number of users who hammer away at my server
throughout the day
Of these users, I have a couple of admin users who get in earlier than
the rest and who must be given priority when they make server
requests
The response time for my admin users decreases significantly when the
rest of the users get in and start making constant server requests
How can I fix it so that my admin users are always given priority over
the other users
I am not as concerned about the response time for requests from my
non-admin users
(c) 2015 Independent SAP TechnicalAnnual Conference, 2015
Dedicatedtasks
One way to solve this problem is to assigned dedicated server tasks to
the admin users
This is done using the dedicated_task database option
The admin users could be assigned a login procedure that automatically
sets the dedicated_task option to on for that connection
Or the admin users could be given permission to set and unset the
option on the fly as needed
(c) 2015 Independent SAP TechnicalAnnual Conference, 2015
DedicatedTasks- DEMO
(c) 2015 Independent SAP TechnicalAnnual Conference, 2015
Dedicatedtasks
Note that dedicating a server task to a connection reduces the number
of server tasks available for servicing requests from other connections
This task cannot be used by the server for another connection EVEN IF
the connection that the task is dedicated to is not currently executing
a request in the server
This feature should therefore be used with caution to avoid starvation of
requests
However for those unique situations where a request absolutely must
make it into the server; the dedicated_task option can be very useful
(c) 2015 Independent SAP TechnicalAnnual Conference, 2015
SP_LIST_DIRECTORY AND
FRIENDS
(c) 2015 Independent SAP TechnicalAnnual Conference, 2015
Preamble: DirectoryAccessServers
sp_list_directory() and friends can be used as a light weight replacement
for directory access servers
Directory access servers allow applications to create proxy tables for
“querying” and manipulating directories on the server machine
 CREATE SERVER … CLASS ‘directory’ USING ‘root=…;subdirs=…’
Some people find that directory access servers are cumbersome and too
powerful for what they really want to do
(c) 2015 Independent SAP TechnicalAnnual Conference, 2015
sp_list_directoryandfriends
To provide an alternate approach to querying and managing directories
on server machines, we added a set of file and directory stored
procedures





Combined with xp_read_file() and xp_write_file(), this full set of stored
procedures can provide the same functionality as directory access
servers without requiring the creation of remote servers and extern
logins

Directory procedures File procedures
dbo.sp_list_directory()
dbo.sp_copy_directory() dbo.sp_copy_file()
dbo.sp_move_directory() dbo.sp_move_file()
dbo.sp_delete_directory() dbo.sp_delete_file()
(c) 2015 Independent SAP TechnicalAnnual Conference, 2015
sp_list_directoryandfriends- DEMO
(c) 2015 Independent SAP TechnicalAnnual Conference, 2015
sp_list_directoryandfriends– final
thoughts
In some ways, sp_list_directory() and friends are more efficient than
directory access servers
They are also easier to use and do not require any setup
Their use can also be easily restricted via system privileges and secure
features
However, directory access servers have certain optimizations that do
not currently exist with sp_list_directory() and friends
 Select … from dirtab where file_name=‘…’
 Select … from dirtab where left(file_name, …) = ‘…’
But if all you want to do is list the contents of a directory, fetch some
files or do some directory or file administration, sp_list_directory() and
friends will usually provide the better alternative

(c) 2015 Independent SAP TechnicalAnnual Conference, 2015
VARIABLESIN ‘USING’ AND
‘AT’ CLAUSES
(c) 2015 Independent SAP TechnicalAnnual Conference, 2015
Preamble: Driver = SQL AnywhereNative
When creating DSN-less remote servers to another SQL Anywhere
server, use Driver=SQL Anywhere Native instead of Driver=SQL
Anywhere 16
 eg. CREATE SERVER rem CLASS ‘saodbc’ USING ‘Driver=SQL Anywhere
Native;host=…’

“Driver=SQL AnywhereNative” works on all platforms that support RDA
 Database can be moved from machine to machine and across platforms without requiring changes to the
remote server definition
 ODBC Driver must be available on the machine but does not need to be registered
 Server bypasses ODBC Driver Manager and loads the ODBC Driver directly
 Bypassing ODBC Driver Manager gives a moderate (10%) perf. improvement
 If multiple copies of the ODBC Driver are installed, then the server will pick the first one it finds (usually
that is the one that was installed with that version of the server)
(c) 2015 Independent SAP TechnicalAnnual Conference, 2015
Preamble: ExternLogins
1. When making a remote server connection, SQLA will first attempt to
use EXTERNLOGIN credentials of the current executing user
2. If there are no EXTERNLOGIN credentials of the current executing
user, then SQLA will fail if the current executing user is not the the
current logged in user
3. If the current executing user is the same as the current logged in user
and there are no EXTERNLOGIN credentials for the current logged
in user, then SQLA will attempt to use the local credentials of the
current logged in user
These credentials are appended to the connection string that is sent to
the underlying driver; hence any userid or password values in either
the DSN or the USING clause will get overridden
 CREATE SERVER … USING ‘Driver=SQL Anywhere Native;
…;uid=…;pwd=…’ will not work because driver sees two sets of uid=
(c) 2015 Independent SAP TechnicalAnnual Conference, 2015
Preamble: ExternLogins
Trick: To fool SQL Anywhere into NOT appending uid= and pwd= and
instead using the uid= and pwd= in either the USING clause or the
DSN; create a dummy EXTERN LOGIN with no remote login

CREATE EXTERNLOGIN myuser TO myserver
 Creates an externlogin for myuser to server myserver with no remote login/password
 SQLA will see this externlogin and assume myuser has no remote userid/password for server myserver
 As a result, SQLA will not append any uid= or pwd= when making
a connection to myserver IF the current effective user is myuser
 This allows the driver to use the uid/pwd that is in the USING clause or the DSN
(c) 2015 Independent SAP TechnicalAnnual Conference, 2015
Preamble: USING andAT Clauses
CREATE SERVER … CLASS ‘…’ USING ‘…’
CREATE EXISTING TABLE … AT ‘…’
CREATE PROCEDURE … AT ‘…’
CREATE FUNCTION … AT ‘..’
AT clauses are sometimes also called LOCATION clauses

Trick: CREATE TABLE table-name ( column-list ) AT ‘…’ will create both the
proxy table and the remote table at the same time
(c) 2015 Independent SAP TechnicalAnnual Conference, 2015
Variablesin USING andAT Clauses
 The USING and AT clauses can contain substitution variables which
get evaluated at run time
 These variables take the form {variable-name} and can appear
anywhere
 Variables in the USING and AT clause can be used to redefine or
change the remote server definition or proxy table/procedure
location on the fly
 This can be extremely useful if you have multiple remote servers,
remote tables or remote procedures that you need to manage but
do not want to have to set up individual remote server definitions,
proxy table and/or proxy procedure definitions
 Variables in USING and AT clauses can be used with any remote
server and is not restricted to SQL Anywhere back ends
(c) 2015 Independent SAP TechnicalAnnual Conference, 2015
Variablesin USING andAT Clauses-
DEMO
(c) 2015 Independent SAP TechnicalAnnual Conference, 2015
Final Thoughts
The features presented here are only some of the lesser known but
extremely useful features in SQL Anywhere
A few other such features are:
 Scripting external environments (PERL and PHP)
 TRY … CATCH
 dbo.sp_forward_to_remote_server()
 Sandboxing
 MERGE
 Secure features
 …
All of the features presented here and many more are available today
(c) 2015 Independent SAP TechnicalAnnual Conference, 2015
Final Thoughts
Let us know about your favorite SQL Anywhere feature and how you use
it
 http://scn.sap.com/community/sql-anywhere

Get involved in the SQL Anywhere forum:
 http://sqlanywhere-forum.sap.com
(c) 2015 Independent SAP TechnicalAnnual Conference, 2015
Thank you
Jason Hinsperger
jason.hinsperger@sap.com

More Related Content

What's hot

Advantages of Cloud Computing for Business
Advantages of Cloud Computing for BusinessAdvantages of Cloud Computing for Business
Advantages of Cloud Computing for BusinessGrazitti Interactive
 
Dell EMC OpenManage Enterprise Ovierview 3.3
Dell EMC OpenManage Enterprise Ovierview 3.3Dell EMC OpenManage Enterprise Ovierview 3.3
Dell EMC OpenManage Enterprise Ovierview 3.3Mark Maclean
 
Lambda Architecture in the Cloud with Azure Databricks with Andrei Varanovich
Lambda Architecture in the Cloud with Azure Databricks with Andrei VaranovichLambda Architecture in the Cloud with Azure Databricks with Andrei Varanovich
Lambda Architecture in the Cloud with Azure Databricks with Andrei VaranovichDatabricks
 
Applications of java
Applications of javaApplications of java
Applications of javaAman Bhardwaj
 
Green cloud computing
Green cloud computingGreen cloud computing
Green cloud computingShreyas Khare
 
Cloud computing by Google Cloud Platform - Presentation
Cloud computing by Google Cloud Platform - PresentationCloud computing by Google Cloud Platform - Presentation
Cloud computing by Google Cloud Platform - PresentationTinarivosoaAbaniaina
 
LinkedIn Data Infrastructure Slides (Version 2)
LinkedIn Data Infrastructure Slides (Version 2)LinkedIn Data Infrastructure Slides (Version 2)
LinkedIn Data Infrastructure Slides (Version 2)Sid Anand
 
Business Transformation with Microsoft Azure IoT
Business Transformation with Microsoft Azure IoTBusiness Transformation with Microsoft Azure IoT
Business Transformation with Microsoft Azure IoTIlyas F ☁☁☁
 
Introduction to Azure Data Factory
Introduction to Azure Data FactoryIntroduction to Azure Data Factory
Introduction to Azure Data FactorySlava Kokaev
 
Pipelines and Packages: Introduction to Azure Data Factory (DATA:Scotland 2019)
Pipelines and Packages: Introduction to Azure Data Factory (DATA:Scotland 2019)Pipelines and Packages: Introduction to Azure Data Factory (DATA:Scotland 2019)
Pipelines and Packages: Introduction to Azure Data Factory (DATA:Scotland 2019)Cathrine Wilhelmsen
 
Azure Data Factory for Azure Data Week
Azure Data Factory for Azure Data WeekAzure Data Factory for Azure Data Week
Azure Data Factory for Azure Data WeekMark Kromer
 
Cloud computing presentation
Cloud computing presentation  Cloud computing presentation
Cloud computing presentation hemanth S R
 
Edge Computing: An Extension to Cloud Computing
Edge Computing: An Extension to Cloud ComputingEdge Computing: An Extension to Cloud Computing
Edge Computing: An Extension to Cloud ComputingRamneek Kalra
 
Building a Real-Time Fraud Prevention Engine Using Open Source (Big Data) Sof...
Building a Real-Time Fraud Prevention Engine Using Open Source (Big Data) Sof...Building a Real-Time Fraud Prevention Engine Using Open Source (Big Data) Sof...
Building a Real-Time Fraud Prevention Engine Using Open Source (Big Data) Sof...Spark Summit
 
Introduction to AWS Cloud Computing
Introduction to AWS Cloud ComputingIntroduction to AWS Cloud Computing
Introduction to AWS Cloud ComputingAmazon Web Services
 
Modernize Your Banking Platform with Temenos and NuoDB
Modernize Your Banking Platform with Temenos and NuoDBModernize Your Banking Platform with Temenos and NuoDB
Modernize Your Banking Platform with Temenos and NuoDBNuoDB
 

What's hot (20)

Advantages of Cloud Computing for Business
Advantages of Cloud Computing for BusinessAdvantages of Cloud Computing for Business
Advantages of Cloud Computing for Business
 
Dell EMC OpenManage Enterprise Ovierview 3.3
Dell EMC OpenManage Enterprise Ovierview 3.3Dell EMC OpenManage Enterprise Ovierview 3.3
Dell EMC OpenManage Enterprise Ovierview 3.3
 
Lambda Architecture in the Cloud with Azure Databricks with Andrei Varanovich
Lambda Architecture in the Cloud with Azure Databricks with Andrei VaranovichLambda Architecture in the Cloud with Azure Databricks with Andrei Varanovich
Lambda Architecture in the Cloud with Azure Databricks with Andrei Varanovich
 
Applications of java
Applications of javaApplications of java
Applications of java
 
Green cloud computing
Green cloud computingGreen cloud computing
Green cloud computing
 
Cloud computing by Google Cloud Platform - Presentation
Cloud computing by Google Cloud Platform - PresentationCloud computing by Google Cloud Platform - Presentation
Cloud computing by Google Cloud Platform - Presentation
 
LinkedIn Data Infrastructure Slides (Version 2)
LinkedIn Data Infrastructure Slides (Version 2)LinkedIn Data Infrastructure Slides (Version 2)
LinkedIn Data Infrastructure Slides (Version 2)
 
Business Transformation with Microsoft Azure IoT
Business Transformation with Microsoft Azure IoTBusiness Transformation with Microsoft Azure IoT
Business Transformation with Microsoft Azure IoT
 
Introduction to Azure Data Factory
Introduction to Azure Data FactoryIntroduction to Azure Data Factory
Introduction to Azure Data Factory
 
Pipelines and Packages: Introduction to Azure Data Factory (DATA:Scotland 2019)
Pipelines and Packages: Introduction to Azure Data Factory (DATA:Scotland 2019)Pipelines and Packages: Introduction to Azure Data Factory (DATA:Scotland 2019)
Pipelines and Packages: Introduction to Azure Data Factory (DATA:Scotland 2019)
 
IoT ecosystem
IoT ecosystemIoT ecosystem
IoT ecosystem
 
iCloud
iCloudiCloud
iCloud
 
Azure Data Factory for Azure Data Week
Azure Data Factory for Azure Data WeekAzure Data Factory for Azure Data Week
Azure Data Factory for Azure Data Week
 
Cloud computing presentation
Cloud computing presentation  Cloud computing presentation
Cloud computing presentation
 
VMware Presentation
VMware PresentationVMware Presentation
VMware Presentation
 
Azure IoT Summary
Azure IoT SummaryAzure IoT Summary
Azure IoT Summary
 
Edge Computing: An Extension to Cloud Computing
Edge Computing: An Extension to Cloud ComputingEdge Computing: An Extension to Cloud Computing
Edge Computing: An Extension to Cloud Computing
 
Building a Real-Time Fraud Prevention Engine Using Open Source (Big Data) Sof...
Building a Real-Time Fraud Prevention Engine Using Open Source (Big Data) Sof...Building a Real-Time Fraud Prevention Engine Using Open Source (Big Data) Sof...
Building a Real-Time Fraud Prevention Engine Using Open Source (Big Data) Sof...
 
Introduction to AWS Cloud Computing
Introduction to AWS Cloud ComputingIntroduction to AWS Cloud Computing
Introduction to AWS Cloud Computing
 
Modernize Your Banking Platform with Temenos and NuoDB
Modernize Your Banking Platform with Temenos and NuoDBModernize Your Banking Platform with Temenos and NuoDB
Modernize Your Banking Platform with Temenos and NuoDB
 

Viewers also liked

SQL Anywhere and the Internet of Things
SQL Anywhere and the Internet of ThingsSQL Anywhere and the Internet of Things
SQL Anywhere and the Internet of ThingsSAP Technology
 
SQLAnywhere 16.0 and Odata
SQLAnywhere 16.0 and OdataSQLAnywhere 16.0 and Odata
SQLAnywhere 16.0 and OdataSAP Technology
 
Synchronizing Data in SAP HANA Using SAP SQL Anywhere
Synchronizing Data in SAP HANA Using SAP SQL AnywhereSynchronizing Data in SAP HANA Using SAP SQL Anywhere
Synchronizing Data in SAP HANA Using SAP SQL AnywhereSAP Technology
 
Deployment and Development approaches for the ISV using PowerBuilder and SQL ...
Deployment and Development approaches for the ISV using PowerBuilder and SQL ...Deployment and Development approaches for the ISV using PowerBuilder and SQL ...
Deployment and Development approaches for the ISV using PowerBuilder and SQL ...SAP Technology
 
Building ISV Applications that run in the cloud with SQL Anywhere On-Demand E...
Building ISV Applications that run in the cloud with SQL Anywhere On-Demand E...Building ISV Applications that run in the cloud with SQL Anywhere On-Demand E...
Building ISV Applications that run in the cloud with SQL Anywhere On-Demand E...SAP Technology
 
Big Data, Big Thinking: Simplified Architecture Webinar Fact Sheet
Big Data, Big Thinking: Simplified Architecture Webinar Fact SheetBig Data, Big Thinking: Simplified Architecture Webinar Fact Sheet
Big Data, Big Thinking: Simplified Architecture Webinar Fact SheetSAP Technology
 
SAP HANA SPS09 - SAP HANA Answers
SAP HANA SPS09 - SAP HANA AnswersSAP HANA SPS09 - SAP HANA Answers
SAP HANA SPS09 - SAP HANA AnswersSAP Technology
 
Big Data, Big Thinking: Untapped Opportunities
Big Data, Big Thinking: Untapped OpportunitiesBig Data, Big Thinking: Untapped Opportunities
Big Data, Big Thinking: Untapped OpportunitiesSAP Technology
 
SAP HANA SPS09 - Full-text Search
SAP HANA SPS09 - Full-text SearchSAP HANA SPS09 - Full-text Search
SAP HANA SPS09 - Full-text SearchSAP Technology
 
SAP HANA SPS10- Text Analysis & Text Mining
SAP HANA SPS10- Text Analysis & Text MiningSAP HANA SPS10- Text Analysis & Text Mining
SAP HANA SPS10- Text Analysis & Text MiningSAP Technology
 
What's New in SAP HANA SPS 11 Platform Lifecycle Management (Operations)
What's New in SAP HANA SPS 11 Platform Lifecycle Management (Operations)What's New in SAP HANA SPS 11 Platform Lifecycle Management (Operations)
What's New in SAP HANA SPS 11 Platform Lifecycle Management (Operations)SAP Technology
 
Enterprise Information Management
Enterprise Information ManagementEnterprise Information Management
Enterprise Information ManagementSAP Technology
 
An In-Depth Look at SAP SQL Anywhere Performance Features
An In-Depth Look at SAP SQL Anywhere Performance FeaturesAn In-Depth Look at SAP SQL Anywhere Performance Features
An In-Depth Look at SAP SQL Anywhere Performance FeaturesSAP Technology
 
SAP HANA SPS09 - HANA Modeling
SAP HANA SPS09 - HANA ModelingSAP HANA SPS09 - HANA Modeling
SAP HANA SPS09 - HANA ModelingSAP Technology
 
SAP HANA SPS09 - Development Tools
SAP HANA SPS09 - Development ToolsSAP HANA SPS09 - Development Tools
SAP HANA SPS09 - Development ToolsSAP Technology
 
SAP HANA SPS09 - Dynamic Tiering
SAP HANA SPS09 - Dynamic TieringSAP HANA SPS09 - Dynamic Tiering
SAP HANA SPS09 - Dynamic TieringSAP Technology
 

Viewers also liked (16)

SQL Anywhere and the Internet of Things
SQL Anywhere and the Internet of ThingsSQL Anywhere and the Internet of Things
SQL Anywhere and the Internet of Things
 
SQLAnywhere 16.0 and Odata
SQLAnywhere 16.0 and OdataSQLAnywhere 16.0 and Odata
SQLAnywhere 16.0 and Odata
 
Synchronizing Data in SAP HANA Using SAP SQL Anywhere
Synchronizing Data in SAP HANA Using SAP SQL AnywhereSynchronizing Data in SAP HANA Using SAP SQL Anywhere
Synchronizing Data in SAP HANA Using SAP SQL Anywhere
 
Deployment and Development approaches for the ISV using PowerBuilder and SQL ...
Deployment and Development approaches for the ISV using PowerBuilder and SQL ...Deployment and Development approaches for the ISV using PowerBuilder and SQL ...
Deployment and Development approaches for the ISV using PowerBuilder and SQL ...
 
Building ISV Applications that run in the cloud with SQL Anywhere On-Demand E...
Building ISV Applications that run in the cloud with SQL Anywhere On-Demand E...Building ISV Applications that run in the cloud with SQL Anywhere On-Demand E...
Building ISV Applications that run in the cloud with SQL Anywhere On-Demand E...
 
Big Data, Big Thinking: Simplified Architecture Webinar Fact Sheet
Big Data, Big Thinking: Simplified Architecture Webinar Fact SheetBig Data, Big Thinking: Simplified Architecture Webinar Fact Sheet
Big Data, Big Thinking: Simplified Architecture Webinar Fact Sheet
 
SAP HANA SPS09 - SAP HANA Answers
SAP HANA SPS09 - SAP HANA AnswersSAP HANA SPS09 - SAP HANA Answers
SAP HANA SPS09 - SAP HANA Answers
 
Big Data, Big Thinking: Untapped Opportunities
Big Data, Big Thinking: Untapped OpportunitiesBig Data, Big Thinking: Untapped Opportunities
Big Data, Big Thinking: Untapped Opportunities
 
SAP HANA SPS09 - Full-text Search
SAP HANA SPS09 - Full-text SearchSAP HANA SPS09 - Full-text Search
SAP HANA SPS09 - Full-text Search
 
SAP HANA SPS10- Text Analysis & Text Mining
SAP HANA SPS10- Text Analysis & Text MiningSAP HANA SPS10- Text Analysis & Text Mining
SAP HANA SPS10- Text Analysis & Text Mining
 
What's New in SAP HANA SPS 11 Platform Lifecycle Management (Operations)
What's New in SAP HANA SPS 11 Platform Lifecycle Management (Operations)What's New in SAP HANA SPS 11 Platform Lifecycle Management (Operations)
What's New in SAP HANA SPS 11 Platform Lifecycle Management (Operations)
 
Enterprise Information Management
Enterprise Information ManagementEnterprise Information Management
Enterprise Information Management
 
An In-Depth Look at SAP SQL Anywhere Performance Features
An In-Depth Look at SAP SQL Anywhere Performance FeaturesAn In-Depth Look at SAP SQL Anywhere Performance Features
An In-Depth Look at SAP SQL Anywhere Performance Features
 
SAP HANA SPS09 - HANA Modeling
SAP HANA SPS09 - HANA ModelingSAP HANA SPS09 - HANA Modeling
SAP HANA SPS09 - HANA Modeling
 
SAP HANA SPS09 - Development Tools
SAP HANA SPS09 - Development ToolsSAP HANA SPS09 - Development Tools
SAP HANA SPS09 - Development Tools
 
SAP HANA SPS09 - Dynamic Tiering
SAP HANA SPS09 - Dynamic TieringSAP HANA SPS09 - Dynamic Tiering
SAP HANA SPS09 - Dynamic Tiering
 

Similar to SQL Anywhere Tips and Tricks

SQL Server & la virtualisation : « 45 minutes inside » !
SQL Server & la virtualisation :  « 45 minutes inside » !SQL Server & la virtualisation :  « 45 minutes inside » !
SQL Server & la virtualisation : « 45 minutes inside » !Microsoft Décideurs IT
 
SQL Server & la virtualisation : « 45 minutes inside » !
SQL Server & la virtualisation :  « 45 minutes inside » !SQL Server & la virtualisation :  « 45 minutes inside » !
SQL Server & la virtualisation : « 45 minutes inside » !Microsoft Technet France
 
The Magic Of Application Lifecycle Management In Vs Public
The Magic Of Application Lifecycle Management In Vs PublicThe Magic Of Application Lifecycle Management In Vs Public
The Magic Of Application Lifecycle Management In Vs PublicDavid Solivan
 
Enter the Dragon - SQL 2014 on Server Core PASS Summit 2014 Edition
Enter the Dragon -  SQL 2014 on Server Core PASS Summit 2014 EditionEnter the Dragon -  SQL 2014 on Server Core PASS Summit 2014 Edition
Enter the Dragon - SQL 2014 on Server Core PASS Summit 2014 EditionMark Broadbent
 
Storage Optimization and Operational Simplicity in SAP Adaptive Server Enter...
Storage Optimization and Operational Simplicity in SAP  Adaptive Server Enter...Storage Optimization and Operational Simplicity in SAP  Adaptive Server Enter...
Storage Optimization and Operational Simplicity in SAP Adaptive Server Enter...SAP Technology
 
SAP performance testing & engineering courseware v01
SAP performance testing & engineering courseware v01SAP performance testing & engineering courseware v01
SAP performance testing & engineering courseware v01Argos
 
Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...
Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...
Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...BizTalk360
 
Modernizing SQL Server the Right Way
Modernizing SQL Server the Right WayModernizing SQL Server the Right Way
Modernizing SQL Server the Right WayJuan Fabian
 
Primavera integration possibilities Technical overview - Oracle Primavera Col...
Primavera integration possibilities Technical overview - Oracle Primavera Col...Primavera integration possibilities Technical overview - Oracle Primavera Col...
Primavera integration possibilities Technical overview - Oracle Primavera Col...p6academy
 
Leveraging SAP ASE Workload Analyzer to optimize your database environment
Leveraging SAP ASE Workload Analyzer to optimize your database environmentLeveraging SAP ASE Workload Analyzer to optimize your database environment
Leveraging SAP ASE Workload Analyzer to optimize your database environmentSAP Technology
 
Webinar: Automating the Creation and Use of Virtual Testing Environments
Webinar: Automating the Creation and Use of Virtual Testing Environments Webinar: Automating the Creation and Use of Virtual Testing Environments
Webinar: Automating the Creation and Use of Virtual Testing Environments Skytap Cloud
 
Sybase ASE 15.7- Two Case Studies of Successful Migration
Sybase ASE 15.7- Two Case Studies of Successful Migration Sybase ASE 15.7- Two Case Studies of Successful Migration
Sybase ASE 15.7- Two Case Studies of Successful Migration SAP Technology
 
Alm Specialist Toolkit Team System 2008 Deep Dive
Alm Specialist Toolkit   Team System 2008 Deep DiveAlm Specialist Toolkit   Team System 2008 Deep Dive
Alm Specialist Toolkit Team System 2008 Deep DiveChristian Thilmany
 
Que hay de nuevo en Visual Studio 2013 y ASP.NET 5.1
Que hay de nuevo en Visual Studio 2013 y ASP.NET 5.1Que hay de nuevo en Visual Studio 2013 y ASP.NET 5.1
Que hay de nuevo en Visual Studio 2013 y ASP.NET 5.1Rodolfo Finochietti
 
Revolutionizing the Data Abstraction Layer with IBM Optim pureQuery and DB2
Revolutionizing the Data Abstraction Layer with IBM Optim pureQuery and DB2Revolutionizing the Data Abstraction Layer with IBM Optim pureQuery and DB2
Revolutionizing the Data Abstraction Layer with IBM Optim pureQuery and DB2Vladimir Bacvanski, PhD
 

Similar to SQL Anywhere Tips and Tricks (20)

SQL Server & la virtualisation : « 45 minutes inside » !
SQL Server & la virtualisation :  « 45 minutes inside » !SQL Server & la virtualisation :  « 45 minutes inside » !
SQL Server & la virtualisation : « 45 minutes inside » !
 
SQL Server & la virtualisation : « 45 minutes inside » !
SQL Server & la virtualisation :  « 45 minutes inside » !SQL Server & la virtualisation :  « 45 minutes inside » !
SQL Server & la virtualisation : « 45 minutes inside » !
 
Mobile
MobileMobile
Mobile
 
Technical Envirment Johan Olsson
Technical Envirment Johan OlssonTechnical Envirment Johan Olsson
Technical Envirment Johan Olsson
 
The Magic Of Application Lifecycle Management In Vs Public
The Magic Of Application Lifecycle Management In Vs PublicThe Magic Of Application Lifecycle Management In Vs Public
The Magic Of Application Lifecycle Management In Vs Public
 
Enter the Dragon - SQL 2014 on Server Core PASS Summit 2014 Edition
Enter the Dragon -  SQL 2014 on Server Core PASS Summit 2014 EditionEnter the Dragon -  SQL 2014 on Server Core PASS Summit 2014 Edition
Enter the Dragon - SQL 2014 on Server Core PASS Summit 2014 Edition
 
Storage Optimization and Operational Simplicity in SAP Adaptive Server Enter...
Storage Optimization and Operational Simplicity in SAP  Adaptive Server Enter...Storage Optimization and Operational Simplicity in SAP  Adaptive Server Enter...
Storage Optimization and Operational Simplicity in SAP Adaptive Server Enter...
 
SAP performance testing & engineering courseware v01
SAP performance testing & engineering courseware v01SAP performance testing & engineering courseware v01
SAP performance testing & engineering courseware v01
 
DP-900.pdf
DP-900.pdfDP-900.pdf
DP-900.pdf
 
Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...
Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...
Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...
 
Modernizing SQL Server the Right Way
Modernizing SQL Server the Right WayModernizing SQL Server the Right Way
Modernizing SQL Server the Right Way
 
Primavera integration possibilities Technical overview - Oracle Primavera Col...
Primavera integration possibilities Technical overview - Oracle Primavera Col...Primavera integration possibilities Technical overview - Oracle Primavera Col...
Primavera integration possibilities Technical overview - Oracle Primavera Col...
 
Jdbc
JdbcJdbc
Jdbc
 
Leveraging SAP ASE Workload Analyzer to optimize your database environment
Leveraging SAP ASE Workload Analyzer to optimize your database environmentLeveraging SAP ASE Workload Analyzer to optimize your database environment
Leveraging SAP ASE Workload Analyzer to optimize your database environment
 
Store procedures
Store proceduresStore procedures
Store procedures
 
Webinar: Automating the Creation and Use of Virtual Testing Environments
Webinar: Automating the Creation and Use of Virtual Testing Environments Webinar: Automating the Creation and Use of Virtual Testing Environments
Webinar: Automating the Creation and Use of Virtual Testing Environments
 
Sybase ASE 15.7- Two Case Studies of Successful Migration
Sybase ASE 15.7- Two Case Studies of Successful Migration Sybase ASE 15.7- Two Case Studies of Successful Migration
Sybase ASE 15.7- Two Case Studies of Successful Migration
 
Alm Specialist Toolkit Team System 2008 Deep Dive
Alm Specialist Toolkit   Team System 2008 Deep DiveAlm Specialist Toolkit   Team System 2008 Deep Dive
Alm Specialist Toolkit Team System 2008 Deep Dive
 
Que hay de nuevo en Visual Studio 2013 y ASP.NET 5.1
Que hay de nuevo en Visual Studio 2013 y ASP.NET 5.1Que hay de nuevo en Visual Studio 2013 y ASP.NET 5.1
Que hay de nuevo en Visual Studio 2013 y ASP.NET 5.1
 
Revolutionizing the Data Abstraction Layer with IBM Optim pureQuery and DB2
Revolutionizing the Data Abstraction Layer with IBM Optim pureQuery and DB2Revolutionizing the Data Abstraction Layer with IBM Optim pureQuery and DB2
Revolutionizing the Data Abstraction Layer with IBM Optim pureQuery and DB2
 

More from SAP Technology

SAP Integration Suite L1
SAP Integration Suite L1SAP Integration Suite L1
SAP Integration Suite L1SAP Technology
 
Future-Proof Your Business Processes by Automating SAP S/4HANA processes with...
Future-Proof Your Business Processes by Automating SAP S/4HANA processes with...Future-Proof Your Business Processes by Automating SAP S/4HANA processes with...
Future-Proof Your Business Processes by Automating SAP S/4HANA processes with...SAP Technology
 
7 Top Reasons to Automate Processes with SAP Intelligent Robotic Processes Au...
7 Top Reasons to Automate Processes with SAP Intelligent Robotic Processes Au...7 Top Reasons to Automate Processes with SAP Intelligent Robotic Processes Au...
7 Top Reasons to Automate Processes with SAP Intelligent Robotic Processes Au...SAP Technology
 
Extend SAP S/4HANA to deliver real-time intelligent processes
Extend SAP S/4HANA to deliver real-time intelligent processesExtend SAP S/4HANA to deliver real-time intelligent processes
Extend SAP S/4HANA to deliver real-time intelligent processesSAP Technology
 
Process optimization and automation for SAP S/4HANA with SAP’s Business Techn...
Process optimization and automation for SAP S/4HANA with SAP’s Business Techn...Process optimization and automation for SAP S/4HANA with SAP’s Business Techn...
Process optimization and automation for SAP S/4HANA with SAP’s Business Techn...SAP Technology
 
Accelerate your journey to SAP S/4HANA with SAP’s Business Technology Platform
Accelerate your journey to SAP S/4HANA with SAP’s Business Technology PlatformAccelerate your journey to SAP S/4HANA with SAP’s Business Technology Platform
Accelerate your journey to SAP S/4HANA with SAP’s Business Technology PlatformSAP Technology
 
Accelerate Your Move to an Intelligent Enterprise with SAP Cloud Platform and...
Accelerate Your Move to an Intelligent Enterprise with SAP Cloud Platform and...Accelerate Your Move to an Intelligent Enterprise with SAP Cloud Platform and...
Accelerate Your Move to an Intelligent Enterprise with SAP Cloud Platform and...SAP Technology
 
Transform your business with intelligent insights and SAP S/4HANA
Transform your business with intelligent insights and SAP S/4HANATransform your business with intelligent insights and SAP S/4HANA
Transform your business with intelligent insights and SAP S/4HANASAP Technology
 
SAP Cloud Platform for SAP S/4HANA: Accelerate your move to an Intelligent En...
SAP Cloud Platform for SAP S/4HANA: Accelerate your move to an Intelligent En...SAP Cloud Platform for SAP S/4HANA: Accelerate your move to an Intelligent En...
SAP Cloud Platform for SAP S/4HANA: Accelerate your move to an Intelligent En...SAP Technology
 
Innovate collaborative applications with SAP Jam Collaboration & SAP Cloud Pl...
Innovate collaborative applications with SAP Jam Collaboration & SAP Cloud Pl...Innovate collaborative applications with SAP Jam Collaboration & SAP Cloud Pl...
Innovate collaborative applications with SAP Jam Collaboration & SAP Cloud Pl...SAP Technology
 
The IoT Imperative for Consumer Products
The IoT Imperative for Consumer ProductsThe IoT Imperative for Consumer Products
The IoT Imperative for Consumer ProductsSAP Technology
 
The IoT Imperative for Discrete Manufacturers - Automotive, Aerospace & Defen...
The IoT Imperative for Discrete Manufacturers - Automotive, Aerospace & Defen...The IoT Imperative for Discrete Manufacturers - Automotive, Aerospace & Defen...
The IoT Imperative for Discrete Manufacturers - Automotive, Aerospace & Defen...SAP Technology
 
IoT is Enabling a New Era of Shareholder Value in Energy and Natural Resource...
IoT is Enabling a New Era of Shareholder Value in Energy and Natural Resource...IoT is Enabling a New Era of Shareholder Value in Energy and Natural Resource...
IoT is Enabling a New Era of Shareholder Value in Energy and Natural Resource...SAP Technology
 
The IoT Imperative in Government and Healthcare
The IoT Imperative in Government and HealthcareThe IoT Imperative in Government and Healthcare
The IoT Imperative in Government and HealthcareSAP Technology
 
SAP S/4HANA Finance and the Digital Core
SAP S/4HANA Finance and the Digital CoreSAP S/4HANA Finance and the Digital Core
SAP S/4HANA Finance and the Digital CoreSAP Technology
 
Five Reasons To Skip SAP Suite on HANA and Go Directly to SAP S/4HANA
Five Reasons To Skip SAP Suite on HANA and Go Directly to SAP S/4HANAFive Reasons To Skip SAP Suite on HANA and Go Directly to SAP S/4HANA
Five Reasons To Skip SAP Suite on HANA and Go Directly to SAP S/4HANASAP Technology
 
SAP Helps Reduce Silos Between Business and Spatial Data
SAP Helps Reduce Silos Between Business and Spatial DataSAP Helps Reduce Silos Between Business and Spatial Data
SAP Helps Reduce Silos Between Business and Spatial DataSAP Technology
 
Spotlight on Financial Services with Calypso and SAP ASE
Spotlight on Financial Services with Calypso and SAP ASESpotlight on Financial Services with Calypso and SAP ASE
Spotlight on Financial Services with Calypso and SAP ASESAP Technology
 
SAP ASE 16 SP02 Performance Features
SAP ASE 16 SP02 Performance FeaturesSAP ASE 16 SP02 Performance Features
SAP ASE 16 SP02 Performance FeaturesSAP Technology
 

More from SAP Technology (20)

SAP Integration Suite L1
SAP Integration Suite L1SAP Integration Suite L1
SAP Integration Suite L1
 
Future-Proof Your Business Processes by Automating SAP S/4HANA processes with...
Future-Proof Your Business Processes by Automating SAP S/4HANA processes with...Future-Proof Your Business Processes by Automating SAP S/4HANA processes with...
Future-Proof Your Business Processes by Automating SAP S/4HANA processes with...
 
7 Top Reasons to Automate Processes with SAP Intelligent Robotic Processes Au...
7 Top Reasons to Automate Processes with SAP Intelligent Robotic Processes Au...7 Top Reasons to Automate Processes with SAP Intelligent Robotic Processes Au...
7 Top Reasons to Automate Processes with SAP Intelligent Robotic Processes Au...
 
Extend SAP S/4HANA to deliver real-time intelligent processes
Extend SAP S/4HANA to deliver real-time intelligent processesExtend SAP S/4HANA to deliver real-time intelligent processes
Extend SAP S/4HANA to deliver real-time intelligent processes
 
Process optimization and automation for SAP S/4HANA with SAP’s Business Techn...
Process optimization and automation for SAP S/4HANA with SAP’s Business Techn...Process optimization and automation for SAP S/4HANA with SAP’s Business Techn...
Process optimization and automation for SAP S/4HANA with SAP’s Business Techn...
 
Accelerate your journey to SAP S/4HANA with SAP’s Business Technology Platform
Accelerate your journey to SAP S/4HANA with SAP’s Business Technology PlatformAccelerate your journey to SAP S/4HANA with SAP’s Business Technology Platform
Accelerate your journey to SAP S/4HANA with SAP’s Business Technology Platform
 
Accelerate Your Move to an Intelligent Enterprise with SAP Cloud Platform and...
Accelerate Your Move to an Intelligent Enterprise with SAP Cloud Platform and...Accelerate Your Move to an Intelligent Enterprise with SAP Cloud Platform and...
Accelerate Your Move to an Intelligent Enterprise with SAP Cloud Platform and...
 
Transform your business with intelligent insights and SAP S/4HANA
Transform your business with intelligent insights and SAP S/4HANATransform your business with intelligent insights and SAP S/4HANA
Transform your business with intelligent insights and SAP S/4HANA
 
SAP Cloud Platform for SAP S/4HANA: Accelerate your move to an Intelligent En...
SAP Cloud Platform for SAP S/4HANA: Accelerate your move to an Intelligent En...SAP Cloud Platform for SAP S/4HANA: Accelerate your move to an Intelligent En...
SAP Cloud Platform for SAP S/4HANA: Accelerate your move to an Intelligent En...
 
Innovate collaborative applications with SAP Jam Collaboration & SAP Cloud Pl...
Innovate collaborative applications with SAP Jam Collaboration & SAP Cloud Pl...Innovate collaborative applications with SAP Jam Collaboration & SAP Cloud Pl...
Innovate collaborative applications with SAP Jam Collaboration & SAP Cloud Pl...
 
The IoT Imperative for Consumer Products
The IoT Imperative for Consumer ProductsThe IoT Imperative for Consumer Products
The IoT Imperative for Consumer Products
 
The IoT Imperative for Discrete Manufacturers - Automotive, Aerospace & Defen...
The IoT Imperative for Discrete Manufacturers - Automotive, Aerospace & Defen...The IoT Imperative for Discrete Manufacturers - Automotive, Aerospace & Defen...
The IoT Imperative for Discrete Manufacturers - Automotive, Aerospace & Defen...
 
IoT is Enabling a New Era of Shareholder Value in Energy and Natural Resource...
IoT is Enabling a New Era of Shareholder Value in Energy and Natural Resource...IoT is Enabling a New Era of Shareholder Value in Energy and Natural Resource...
IoT is Enabling a New Era of Shareholder Value in Energy and Natural Resource...
 
The IoT Imperative in Government and Healthcare
The IoT Imperative in Government and HealthcareThe IoT Imperative in Government and Healthcare
The IoT Imperative in Government and Healthcare
 
SAP S/4HANA Finance and the Digital Core
SAP S/4HANA Finance and the Digital CoreSAP S/4HANA Finance and the Digital Core
SAP S/4HANA Finance and the Digital Core
 
Five Reasons To Skip SAP Suite on HANA and Go Directly to SAP S/4HANA
Five Reasons To Skip SAP Suite on HANA and Go Directly to SAP S/4HANAFive Reasons To Skip SAP Suite on HANA and Go Directly to SAP S/4HANA
Five Reasons To Skip SAP Suite on HANA and Go Directly to SAP S/4HANA
 
SAP Helps Reduce Silos Between Business and Spatial Data
SAP Helps Reduce Silos Between Business and Spatial DataSAP Helps Reduce Silos Between Business and Spatial Data
SAP Helps Reduce Silos Between Business and Spatial Data
 
Why SAP HANA?
Why SAP HANA?Why SAP HANA?
Why SAP HANA?
 
Spotlight on Financial Services with Calypso and SAP ASE
Spotlight on Financial Services with Calypso and SAP ASESpotlight on Financial Services with Calypso and SAP ASE
Spotlight on Financial Services with Calypso and SAP ASE
 
SAP ASE 16 SP02 Performance Features
SAP ASE 16 SP02 Performance FeaturesSAP ASE 16 SP02 Performance Features
SAP ASE 16 SP02 Performance Features
 

Recently uploaded

From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 

Recently uploaded (20)

From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 

SQL Anywhere Tips and Tricks

  • 1. (c) 2015 Independent SAP TechnicalAnnual Conference, 2015 SQL AnywhereTipsandTricks Jason Hinsperger Product Manager, SAP
  • 2. (c) 2015 Independent SAP TechnicalAnnual Conference, 2015 SQL AnywhereTipsandTricks Autocommit C External Environments Dedicated Tasks sp_list_directory and friends Variables in USING and AT clauses
  • 3. (c) 2015 Independent SAP TechnicalAnnual Conference, 2015 AUTOCOMMIT
  • 4. (c) 2015 Independent SAP TechnicalAnnual Conference, 2015 Autocommit Autocommit Off Chained On Autocommit On Chained Off IT DEPENDS! For TDS connections Autocommit on/off is effectively equivalent to Chained off/on  jConnect, Open Client For other connections, Autocommit and Chained are completely different  ODBC, SQLA JDBC, .NET, … Chained mode controls whether the server does a commit after each statement
  • 5. (c) 2015 Independent SAP TechnicalAnnual Conference, 2015 Autocommit VSChained(ODBC Example)  CREATE PROCEDURE p( IN id INT, OUT numrows INT )  BEGIN  SAVEPOINT sv;  INSERT INTO tab2 SELECT * FROM tab1 WHERE tab1.tabid < id;  SELECT count(*) INTO numrows FROM tab2;  ROLLBACK TO SAVEPOINT sv;  END If Autocommit is ON (driver default) and Chained is OFF (database default), then executing the above procedure via ODBC does not change the contents of tab2 If Autocommit is either ON or OFF and Chained is ON, then executing the above procedure via ODBC does change the contents of tab2 AND will generate an error
  • 6. (c) 2015 Independent SAP TechnicalAnnual Conference, 2015 TurningAutocommit Off So when we say “turn autocommit off” we actually mean make the API call on the client  ODBC: SQLSetConnectAttr( … SQL_ATTR_AUTOCOMMIT … )  JDBC: Connection.setAutoCommit( false ) (regardless of whether you are using jConnect or SQLA JDBC)  … AND avoid messing with chained mode
  • 7. (c) 2015 Independent SAP TechnicalAnnual Conference, 2015 C EXTERNAL ENVIRONMENTS
  • 8. (c) 2015 Independent SAP TechnicalAnnual Conference, 2015 C External EnvironmentsvsIn Process External StoredProcedures SQL Anywhere has had the ability to load user provided dlls and shared objects for a long time More recently these dlls and shared objects can now be loaded and executed outside of the server using C External Environments Loading these dlls and shared objects outside of the server provides:  Improved server stability  Greater security of data  Mixing and matching of server and dll/shared object bitness  The ability to return result sets from the external stored procedure  The ability to make server side calls via ODBC or ESQL  Easier debugging of external dll/shared object
  • 9. (c) 2015 Independent SAP TechnicalAnnual Conference, 2015 C External EnvironmentsvsIn Process External StoredProcedures Changing an external stored procedure from in process to out of process is as simple as adding a LANGUAGE clause  CREATE PROCEDURE myextproc(…) EXTERNAL NAME ‘MyExternalProc@myprocs.dll’  CREATE PROCEDURE myextproc(…) EXTERNAL NAME ‘MyExternalProc@myprocs.dll’ LANGUAGE C_ODBC64 EXTERNAL NAME clause can contain both Unix and Windows definitions – exactly the same as the in process EXTERNAL NAME clause
  • 10. (c) 2015 Independent SAP TechnicalAnnual Conference, 2015 C External Environments- DEMO
  • 11. (c) 2015 Independent SAP TechnicalAnnual Conference, 2015 C External EnvironmentsvsIn-Process External StoredProcedures Things to take into consideration when deciding to load dlls and shared object in C External Environment:  Time required to make a call out of process is significantly greater than making an in process call  Machine resource utilization is higher due to separate process per connection  Sharing of data across connections is not allowed
  • 12. (c) 2015 Independent SAP TechnicalAnnual Conference, 2015 DEDICATED TASKS
  • 13. (c) 2015 Independent SAP TechnicalAnnual Conference, 2015 Scenario I have a large number of users who hammer away at my server throughout the day Of these users, I have a couple of admin users who get in earlier than the rest and who must be given priority when they make server requests The response time for my admin users decreases significantly when the rest of the users get in and start making constant server requests How can I fix it so that my admin users are always given priority over the other users I am not as concerned about the response time for requests from my non-admin users
  • 14. (c) 2015 Independent SAP TechnicalAnnual Conference, 2015 Dedicatedtasks One way to solve this problem is to assigned dedicated server tasks to the admin users This is done using the dedicated_task database option The admin users could be assigned a login procedure that automatically sets the dedicated_task option to on for that connection Or the admin users could be given permission to set and unset the option on the fly as needed
  • 15. (c) 2015 Independent SAP TechnicalAnnual Conference, 2015 DedicatedTasks- DEMO
  • 16. (c) 2015 Independent SAP TechnicalAnnual Conference, 2015 Dedicatedtasks Note that dedicating a server task to a connection reduces the number of server tasks available for servicing requests from other connections This task cannot be used by the server for another connection EVEN IF the connection that the task is dedicated to is not currently executing a request in the server This feature should therefore be used with caution to avoid starvation of requests However for those unique situations where a request absolutely must make it into the server; the dedicated_task option can be very useful
  • 17. (c) 2015 Independent SAP TechnicalAnnual Conference, 2015 SP_LIST_DIRECTORY AND FRIENDS
  • 18. (c) 2015 Independent SAP TechnicalAnnual Conference, 2015 Preamble: DirectoryAccessServers sp_list_directory() and friends can be used as a light weight replacement for directory access servers Directory access servers allow applications to create proxy tables for “querying” and manipulating directories on the server machine  CREATE SERVER … CLASS ‘directory’ USING ‘root=…;subdirs=…’ Some people find that directory access servers are cumbersome and too powerful for what they really want to do
  • 19. (c) 2015 Independent SAP TechnicalAnnual Conference, 2015 sp_list_directoryandfriends To provide an alternate approach to querying and managing directories on server machines, we added a set of file and directory stored procedures      Combined with xp_read_file() and xp_write_file(), this full set of stored procedures can provide the same functionality as directory access servers without requiring the creation of remote servers and extern logins  Directory procedures File procedures dbo.sp_list_directory() dbo.sp_copy_directory() dbo.sp_copy_file() dbo.sp_move_directory() dbo.sp_move_file() dbo.sp_delete_directory() dbo.sp_delete_file()
  • 20. (c) 2015 Independent SAP TechnicalAnnual Conference, 2015 sp_list_directoryandfriends- DEMO
  • 21. (c) 2015 Independent SAP TechnicalAnnual Conference, 2015 sp_list_directoryandfriends– final thoughts In some ways, sp_list_directory() and friends are more efficient than directory access servers They are also easier to use and do not require any setup Their use can also be easily restricted via system privileges and secure features However, directory access servers have certain optimizations that do not currently exist with sp_list_directory() and friends  Select … from dirtab where file_name=‘…’  Select … from dirtab where left(file_name, …) = ‘…’ But if all you want to do is list the contents of a directory, fetch some files or do some directory or file administration, sp_list_directory() and friends will usually provide the better alternative 
  • 22. (c) 2015 Independent SAP TechnicalAnnual Conference, 2015 VARIABLESIN ‘USING’ AND ‘AT’ CLAUSES
  • 23. (c) 2015 Independent SAP TechnicalAnnual Conference, 2015 Preamble: Driver = SQL AnywhereNative When creating DSN-less remote servers to another SQL Anywhere server, use Driver=SQL Anywhere Native instead of Driver=SQL Anywhere 16  eg. CREATE SERVER rem CLASS ‘saodbc’ USING ‘Driver=SQL Anywhere Native;host=…’  “Driver=SQL AnywhereNative” works on all platforms that support RDA  Database can be moved from machine to machine and across platforms without requiring changes to the remote server definition  ODBC Driver must be available on the machine but does not need to be registered  Server bypasses ODBC Driver Manager and loads the ODBC Driver directly  Bypassing ODBC Driver Manager gives a moderate (10%) perf. improvement  If multiple copies of the ODBC Driver are installed, then the server will pick the first one it finds (usually that is the one that was installed with that version of the server)
  • 24. (c) 2015 Independent SAP TechnicalAnnual Conference, 2015 Preamble: ExternLogins 1. When making a remote server connection, SQLA will first attempt to use EXTERNLOGIN credentials of the current executing user 2. If there are no EXTERNLOGIN credentials of the current executing user, then SQLA will fail if the current executing user is not the the current logged in user 3. If the current executing user is the same as the current logged in user and there are no EXTERNLOGIN credentials for the current logged in user, then SQLA will attempt to use the local credentials of the current logged in user These credentials are appended to the connection string that is sent to the underlying driver; hence any userid or password values in either the DSN or the USING clause will get overridden  CREATE SERVER … USING ‘Driver=SQL Anywhere Native; …;uid=…;pwd=…’ will not work because driver sees two sets of uid=
  • 25. (c) 2015 Independent SAP TechnicalAnnual Conference, 2015 Preamble: ExternLogins Trick: To fool SQL Anywhere into NOT appending uid= and pwd= and instead using the uid= and pwd= in either the USING clause or the DSN; create a dummy EXTERN LOGIN with no remote login  CREATE EXTERNLOGIN myuser TO myserver  Creates an externlogin for myuser to server myserver with no remote login/password  SQLA will see this externlogin and assume myuser has no remote userid/password for server myserver  As a result, SQLA will not append any uid= or pwd= when making a connection to myserver IF the current effective user is myuser  This allows the driver to use the uid/pwd that is in the USING clause or the DSN
  • 26. (c) 2015 Independent SAP TechnicalAnnual Conference, 2015 Preamble: USING andAT Clauses CREATE SERVER … CLASS ‘…’ USING ‘…’ CREATE EXISTING TABLE … AT ‘…’ CREATE PROCEDURE … AT ‘…’ CREATE FUNCTION … AT ‘..’ AT clauses are sometimes also called LOCATION clauses  Trick: CREATE TABLE table-name ( column-list ) AT ‘…’ will create both the proxy table and the remote table at the same time
  • 27. (c) 2015 Independent SAP TechnicalAnnual Conference, 2015 Variablesin USING andAT Clauses  The USING and AT clauses can contain substitution variables which get evaluated at run time  These variables take the form {variable-name} and can appear anywhere  Variables in the USING and AT clause can be used to redefine or change the remote server definition or proxy table/procedure location on the fly  This can be extremely useful if you have multiple remote servers, remote tables or remote procedures that you need to manage but do not want to have to set up individual remote server definitions, proxy table and/or proxy procedure definitions  Variables in USING and AT clauses can be used with any remote server and is not restricted to SQL Anywhere back ends
  • 28. (c) 2015 Independent SAP TechnicalAnnual Conference, 2015 Variablesin USING andAT Clauses- DEMO
  • 29. (c) 2015 Independent SAP TechnicalAnnual Conference, 2015 Final Thoughts The features presented here are only some of the lesser known but extremely useful features in SQL Anywhere A few other such features are:  Scripting external environments (PERL and PHP)  TRY … CATCH  dbo.sp_forward_to_remote_server()  Sandboxing  MERGE  Secure features  … All of the features presented here and many more are available today
  • 30. (c) 2015 Independent SAP TechnicalAnnual Conference, 2015 Final Thoughts Let us know about your favorite SQL Anywhere feature and how you use it  http://scn.sap.com/community/sql-anywhere  Get involved in the SQL Anywhere forum:  http://sqlanywhere-forum.sap.com
  • 31. (c) 2015 Independent SAP TechnicalAnnual Conference, 2015 Thank you Jason Hinsperger jason.hinsperger@sap.com