This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DECLARE | |
nama varchar2(100); | |
v_fname employees.first_name%type; | |
v_lname employees.last_name%type; | |
BEGIN | |
SELECT first_name, | |
last_name INTO v_fname, | |
v_lname | |
FROM employees |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare | |
v_fname employees.first_name%type; | |
v_lname employees.last_name%type; | |
begin | |
SELECT first_name, last_name into v_fname, v_lname from employees WHERE last_name = 'Chen'; | |
dbms_output.put_line('Nama lengkap saya adalah: ' || v_fname || ' ' || v_lname); | |
end; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DECLARE | |
x number; | |
v_fname employees.first_name%type; | |
v_lname employees.last_name%type; | |
BEGIN | |
SELECT first_name, | |
last_name INTO v_fname, | |
v_lname |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare | |
v_fname employees.first_name%type; | |
v_lname employees.last_name%type; | |
begin | |
select first_name, last_name into v_fname, v_lname from employees where employee_id=1000; | |
dbms_output.put_line('Nama depannya adalah: ' || v_fname ); | |
dbms_output.put_line('Nama belakangnya adalah: ' || v_lname ); | |
exception | |
when no_data_found then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare | |
i number(1); | |
Nama varchar2(100); | |
begin | |
<< outer_loop >> | |
select first_name into nama from employees where first_name = 'Den'; | |
dbms_output.put_line('Nama adalah: ' || Nama ); | |
for i in 1..3 loop | |
<< inner_loop >> | |
dbms_output.put_line('Nama saya berulang: ' || Nama ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub PasswordBreaker() | |
'Breaks worksheet password protection. | |
Dim i As Integer, j As Integer, k As Integer | |
Dim l As Integer, m As Integer, n As Integer | |
Dim i1 As Integer, i2 As Integer, i3 As Integer | |
Dim i4 As Integer, i5 As Integer, i6 As Integer | |
On Error Resume Next | |
For i = 65 To 66: For j = 65 To 66: For k = 65 To 66 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Add custom body class to the head | |
add_filter( 'body_class', 'uc_body_class' ); | |
function add_body_class( $classes ) { | |
$classes[] = 'name-of-css-class-goes-here'; | |
return $classes; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if (is_linked_list()): ?> | |
<a class="entry-meta" href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark">Permalink</a> | |
<?php endif; ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
require 'csv' | |
require 'erb' | |
require 'cgi' | |
if ARGV.length == 2 | |
input_csv = ARGV[0] | |
output_te = ARGV[1] | |
unless output_te =~ /\.textexpander$/ | |
puts "Second argument must have a '.textexpander' extension." |
NewerOlder