Use Regular Expressions in Proc SQL


/ Published in: SAS
Save to your folder(s)

You can use regular expressions within SQL. This can be quite powerful in selecting data that matches certain conditions. The following example shows a simple regular expression which selects only quarterly periods from a table containing years, quarters & months.

URL: http://jaredprins.squarespace.com/blog/2008/10/7/some-sas-code-snippets.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.