Posts

Showing posts from November 11, 2018

trying to connect to SQL server with sqlalchemy

Image
up vote 0 down vote favorite I can connect to SQL server with the following connection using pyodbc. cnxn = pyodbc.connect("Driver=SQL Server Native Client 11.0;" "Server=" + _SERVER + ";" "Database=" + dbName + ";" "uid=" + _USER + ";pwd=" + _PASSWORD) However I can't connect using sqlalchemy engine = sqlalchemy.create_engine('mssql+pyodbc://' + _USER + ':' + _PASSWORD + '@MyServer\SQL1/MyDatabaseNaem.db') df.to_sql('myTable', con=engine, if_exists='append') I get the following error, InterfaceError: (pyodbc.InterfaceError) ('IM002', u'[IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified (0) (SQLDriverConnect)') (Background on this error at: http://sqlalche.me/e/rvf5) What is wrong with my connection string? python share | improve this question asked yesterday mHelpMe 1,924

1965年

Image
千年紀: 2千年紀 世紀: 19世紀 - 20世紀 - 21世紀 十年紀: 1940年代 1950年代 1960年代 1970年代 1980年代 年: 1962年 1963年 1964年 1965年 1966年 1967年 1968年   1965年   社会 政治 文化と芸術 映画 文学 音楽 スポーツ スポーツ 相撲 バレーボール 野球 科学と技術 航空 宇宙飛行 国際 生誕・死去 生誕 死去 設立・廃止 設立 廃止 作品 作品 ■ヘルプ 表 話 編 歴 1965年 (1965 ねん)は、西暦(グレゴリオ暦)による、金曜日から始まる平年。昭和40年。 目次 1 他の紀年法 2 カレンダー 3 できごと 3.1 1月 3.2 2月 3.3 3月 3.4 4月 3.5 5月 3.6 6月 3.7 7月 3.8 8月 3.9 9月 3.10 10月 3.11 11月 3.12 12月 4 周年 5 芸術・文化・ファッション 6 誕生 6.1 1月 6.2 2月 6.3 3月 6.4 4月 6.5 5月 6.6 6月 6.7 7月 6.8 8月 6.9 9月 6.10 10月 6.11 11月 6.12 12月 7 死去 8 ノーベル賞 9 フィクションのできごと 10 脚注 11 関連項目 12 外部リンク 他の紀年法 干支:乙巳 日本(月日は一致) 昭和40年 皇紀2625年 中華民国(月日は一致) 中華民国暦54年 朝鮮(月日は一致) 主体54年 仏滅紀元:2507年 - 2508年 イスラム暦:1384年8月27日 - 1385年9月8日 ユダヤ暦:5725年4月27日 - 5726年4月8日 修正ユリウス日(MJD):38761 - 39125 リリウス日(LD):139602 - 139966 ※主体暦は、朝鮮民主主義人民共和国で1997年に制定された。 カレンダー 1月 日 月 火 水 木 金 土 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 2月 日 月 火 水 木 金 土 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17