Hola gente
Disculpen, he recorrido los BOL y no logro encontrar cómo
pasar los parámetros correctos para grabar un archivo de
formato basado en una tabla
Aquí está lo que estoy pasando y el error:
**********
Enter the file storage type of field idvendor [int]: i
Enter prefix-length of field idvendor [0]: 0
Enter field terminator [none]: "\t"
Enter the file storage type of field clavendor [int-null]:
i
Enter prefix-length of field clavendor [1]: 1
Enter field terminator [none]: "\t"
Enter the file storage type of field nombre [nvarchar]: w
Enter prefix-length of field nombre [2]: 2
Enter field terminator [none]: "\t"
Enter the file storage type of field obsvendor [nvarchar]:
w
Enter prefix-length of field obsvendor [2]: 2
Enter field terminator [none]: "\t"
Enter the file storage type of field stb_vendor [bit-
null]: b
Enter prefix-length of field stb_vendor [1]: 1
Enter field terminator [none]: "\t"
SQLState = S1090, NativeError = 0
Error = [Microsoft][ODBC SQL Server Driver]Longitud de
búfer o cadena no válida
C:\>
*************************
¿Alguien me podría pasar un ejemplo de la instrucción
completa (bcp "base.owner.tabla" format ) y los
parámetros a pasar?
Anticipadas gracias
Manuel
Leer las respuestas