Home Forums SQL Server 2014 Development - SQL Server 2014 Run-time error '-2147467259 (80004005)': [Microsoft][ODBC SQL Server Driver]Invalid use of default parameter RE: Run-time error '-2147467259 (80004005)': [Microsoft][ODBC SQL Server Driver]Invalid use of default parameter

  • before you try to execute put the SQLText into a msgPrompt so that you can copy and paste it to management studio.

    I suspect the problem is that you have (?) in the command string rather than the value of the parameter