mirror of
https://github.com/SASPAC/sqlinds.git
synced 2026-01-03 13:00:05 +00:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f999e885db | ||
|
|
9fb14a12dc | ||
|
|
ae8cbe80f1 | ||
|
|
a6559dd7fa | ||
|
|
ae99cd8439 | ||
|
|
079f6ff2fb |
18
README.md
Normal file
18
README.md
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
## `SQLinDS` - SQL queries in Data Step
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
The **SQLinDS** package is based on Mike Rhoads' article [*Use the Full Power of SAS in Your Function-Style Macros*](https://support.sas.com/resources/papers/proceedings12/004-2012.pdf).
|
||||||
|
|
||||||
|
The package allows to write SQL queries in the data step, e.g.
|
||||||
|
```sas
|
||||||
|
data class;
|
||||||
|
set %SQL(select * from sashelp.class order by age);
|
||||||
|
run;
|
||||||
|
```
|
||||||
|
SHA256 digest for the latest version of `SQLinDS`: F*229ACF1A62E5194A25C75D8E554BEF1B7D29227A498ED5862F23892BB0D57644
|
||||||
|
|
||||||
|
[**Documentation for SQLinDS**](./sqlinds.md "Documentation for SQLinDS")
|
||||||
|
|
||||||
|
To work with a package use the [**SAS Packages Framework**](https://github.com/yabwon/SAS_PACKAGES/blob/main/README.md "SPFinit").
|
||||||
|
|
||||||
BIN
hist/2.2.2/sqlinds.zip
Normal file
BIN
hist/2.2.2/sqlinds.zip
Normal file
Binary file not shown.
BIN
hist/2.2.3/sqlinds.zip
Normal file
BIN
hist/2.2.3/sqlinds.zip
Normal file
Binary file not shown.
BIN
hist/2.2.4/sqlinds.zip
Normal file
BIN
hist/2.2.4/sqlinds.zip
Normal file
Binary file not shown.
BIN
hist/2.2.5/sqlinds.zip
Normal file
BIN
hist/2.2.5/sqlinds.zip
Normal file
Binary file not shown.
15
sqlinds.md
15
sqlinds.md
@@ -1,4 +1,4 @@
|
|||||||
- [The SQLinDS package [ver. 2.2.1]](#sqlinds-package)
|
- [The SQLinDS package](#sqlinds-package)
|
||||||
- [Content description](#content-description)
|
- [Content description](#content-description)
|
||||||
* [library `dsSQL`](#library-dssql)
|
* [library `dsSQL`](#library-dssql)
|
||||||
* [`%dsSQL_inner()` macro](#dssql-inner-macro)
|
* [`%dsSQL_inner()` macro](#dssql-inner-macro)
|
||||||
@@ -8,16 +8,19 @@
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
# The SQLinDS package [ver. 2.2.1] <a name="sqlinds-package"></a> ###############################################
|
# The SQLinDS package [ver. 2.2.5] <a name="sqlinds-package"></a> ###############################################
|
||||||
|
|
||||||
The **SQLinDS** package is an implementation of
|
The **SQLinDS** package is an implementation of
|
||||||
the *macro-function-sandwich* concept introduced in the
|
the *macro-function-sandwich* concept introduced in the
|
||||||
*"Use the Full Power of SAS in Your Function-Style Macros"*,
|
*"Use the Full Power of SAS in Your Function-Style Macros"*,
|
||||||
the article by *Mike Rhoads (Westat, Rockville)*.
|
the article by *Mike Rhoads (Westat, Rockville)*.
|
||||||
|
|
||||||
Copy of the article is available at:
|
The article is available at:
|
||||||
[https://support.sas.com/resources/papers/proceedings12/004-2012.pdf](https://support.sas.com/resources/papers/proceedings12/004-2012.pdf)
|
[https://support.sas.com/resources/papers/proceedings12/004-2012.pdf](https://support.sas.com/resources/papers/proceedings12/004-2012.pdf)
|
||||||
|
|
||||||
|
Copy of the article can also be found in *additional content* directory.
|
||||||
|
|
||||||
|
|
||||||
Package provides ability to *execute* SQL queries inside a data step, e.g.
|
Package provides ability to *execute* SQL queries inside a data step, e.g.
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~sas
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~sas
|
||||||
data class;
|
data class;
|
||||||
@@ -46,10 +49,10 @@ Package contains:
|
|||||||
Required SAS Components:
|
Required SAS Components:
|
||||||
*Base SAS Software*
|
*Base SAS Software*
|
||||||
|
|
||||||
*SAS package generated by generatePackage, version 20221112*
|
*SAS package generated by generatePackage, version 20230207*
|
||||||
|
|
||||||
The SHA256 hash digest for package SQLinDS:
|
The SHA256 hash digest for package SQLinDS:
|
||||||
`A070214517CC36590083FCF9D5F488AC6E746793E94B9AA55D09A419CF291B5B`
|
`F*229ACF1A62E5194A25C75D8E554BEF1B7D29227A498ED5862F23892BB0D57644`
|
||||||
|
|
||||||
---
|
---
|
||||||
# Content description ############################################################################################
|
# Content description ############################################################################################
|
||||||
@@ -96,6 +99,8 @@ Based on the article *"Use the Full Power of SAS in Your Function-Style Macros"*
|
|||||||
by *Mike Rhoads* (Westat, Rockville), available at:
|
by *Mike Rhoads* (Westat, Rockville), available at:
|
||||||
[https://support.sas.com/resources/papers/proceedings12/004-2012.pdf](https://support.sas.com/resources/papers/proceedings12/004-2012.pdf)
|
[https://support.sas.com/resources/papers/proceedings12/004-2012.pdf](https://support.sas.com/resources/papers/proceedings12/004-2012.pdf)
|
||||||
|
|
||||||
|
Copy of the article can also be found in *additional content* directory.
|
||||||
|
|
||||||
### SYNTAX: ###################################################################
|
### SYNTAX: ###################################################################
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~sas
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~sas
|
||||||
%sql(<nonempty sql querry code>)
|
%sql(<nonempty sql querry code>)
|
||||||
|
|||||||
BIN
sqlinds.zip
BIN
sqlinds.zip
Binary file not shown.
Reference in New Issue
Block a user