Welcome to My Static Website

Visit W3Schools.com!

Visit W3Schools.com!

Home

This is a simple static website hosted on Amazon S3. You can modify this page as needed and update the content.


CREATE OR REPLACE PROCEDURE get_user_details(user_id INT) RETURNS STRING LANGUAGE PYTHON RUNTIME_VERSION = '3.8' HANDLER = 'get_user_details_handler' AS $$ def get_user_details_handler(user_id): import snowflake.connector # Create a Snowflake connection using the existing session ctx = snowflake.connector.connect( account='<your_account>', warehouse='<your_warehouse>', database='<your_database>', schema='<your_schema>' ) try: # Create a cursor cur = ctx.cursor() # Execute the SQL query to get user details cur.execute("SELECT username, email FROM users WHERE user_id = %s", (user_id,)) # Fetch the result result = cur.fetchone() if result: return f'User: {result[0]}, Email: {result[1]}' else: return f'No user found with ID {user_id}.' finally: # Close the cursor and connection cur.close() ctx.close() $$;


FOR col_index IN 0..(ARRAY_SIZE(row) - 1) DO -- Get the column name and value dynamically col_name := ARRAY_ELEMENT(row, col_index).NAME; col_value := ARRAY_ELEMENT(row, col_index).VALUE; -- Output or process the column name and value RETURN col_name || ': ' || col_value; END FOR;


SELECT * FROM your_table_name WHERE lastname IS NULL OR TRIM(lastname) = '' OR NOT REGEXP_LIKE(lastname, '^[A-Za-z\s''-]+$') OR LENGTH(TRIM(lastname)) < 2 OR LENGTH(TRIM(lastname)) > 50 OR

Click me

About

This website is built using HTML, CSS, and JavaScript, and is hosted on S3 as a static website.

Contact

Contact us at info@example.com

© 2024 My Static Website. All rights reserved.

We, the undersigned, Mr. Kanisvaran Ganesan (Father, Ontario Driver’s License No: G0413-42408-40716) and Mrs. Priya Kanisvaran (Mother), born in India and currently residing at Unit 1015, 88 Corporate Drive, Scarborough, Ontario, Canada M1H 3G6, do hereby solemnly declare and affirm as follows:

  1. The name of our son as stated in his Passport issued by the Government of India, Chennai (Passport No: X5645898) is Krishanthlava Kanisvaran.
  2. The name of our son as stated in his Birth Certificate (Certificate No: BC/056/2016/0014977) is K. Krishanthlava.

We make this affidavit to clarify the inconsistencies in the names as indicated in the aforementioned documents.

We declare that the names Krishanthlava Kanisvaran and K. Krishanthlava refer to the same individual, our son.

We make this solemn declaration, conscientiously believing it to be true and knowing that it has the same force and effect as if made under oath.