This file contains 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
SET NOCOUNT ON; | |
declare @tbl varchar(50); | |
set @tbl='[Users]'; | |
SELECT * INTO #temp_table_for_script FROM ( | |
-- select query sql | |
select * from [Users] where UserID in (985) | |
This file contains 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains 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
from sqlalchemy.orm import sessionmaker, relationship, aliased | |
from sqlalchemy import cast, Integer, Text, Column, ForeignKey, literal, null | |
from sqlalchemy.sql import column, label | |
class Catalog(Base): | |
__tablename__ = 'catalog' | |
id = Column(String, primary_key=True) | |
parentid = Column(String, ForeignKey('catalog.id')) | |
name = Column(String) | |
parent = relationship("Catalog", remote_side=[id]) |