You are here: Problem with passing password to sqlcmd « MsSQL Server « IT news, forums, messages
Problem with passing password to sqlcmd

Posted by KonRi on 12/20/06 09:56

I don't know how to pass strange looking passwords to sqlcmd. In sql I use
'pass' and that works fine, but what to do with command line applications
like sqlcmd?
if password contains no " sumbol I can use "password"
but what if the password contains " . / - or spaces?
ex.
password = 'a-d ". a"'

sqlcmd -S myServer -U myUser -P a-d ". a" -d "myDb" -i
"C:\myProcedure.sql" -o "C:\temp\myOutput.out" --->whon't work..


How to pass strange looking passwords to sqlcmd?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация