i want use bcp but i cant remote to data base i use this command but i get error below:
bcp "Select personelid, '13'+date date, scheduleid, scheduleGroupName, DetailCollectionID, Name, TimesStructure, DayNO, Sequence, WPID, ToleranceTimes, DayState, StructureID, ID, STime, ETime from framework.att.PersonDateStructure" queryout "D:\test\pds.txt" -T -c -S 10.0.0.108 -U sa -P 0000
but i get this error:
SQLState = 28000, NativeError = 18456 Error = [Microsoft][ODBC Driver 13 for SQL Server][SQL Server]Login failed for user 'KASRA\mnaghsh
KASRA\mnaghsh) does not have a login on the server you are trying to connect to, the said login had been denied logon permissions, or it does not have a mapped user in the database you're providing in your connection string. - Larnu