Groups | Search | Server Info | Login | Register


Groups > comp.databases.ms-sqlserver > #2245

Re: `sqlcmd' defective by design?

From Anton Shepelev <anton.txt@gmail.moc>
Newsgroups comp.databases.ms-sqlserver
Subject Re: `sqlcmd' defective by design?
Date 2024-05-14 01:05 +0300
Organization A noiseless patient Spider
Message-ID <20240514010559.361a252eb7de61db42f229d1@gmail.moc> (permalink)
References <20240513142445.206132420c1c47759b78c197@g{oogle}mail.com> <XnsB171E75C59835Yazorman@127.0.0.1>

Show all headers | View raw


Erland Sommarskog:

> What sort of timeout are we talking about? I guess this is
> something that involves a linked server -- or how would
> you else get a timeout with SQLCMD?

Nothing of the sort.  It is the usual timeout that occurs
when the command or script executed via `sqlcmd' is taking
longer than the number of seconds speciffied in the -t
command-line parameter.  In my test, I was executing:

   echo WAITFOR DELAY '00:00:10' | sqlcmd -S mytesty -V 11 -r -b -t 8

-- 
()  ascii ribbon campaign -- against html e-mail
/\  www.asciiribbon.org   -- against proprietary attachments

Back to comp.databases.ms-sqlserver | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

`sqlcmd' defective by design? Anton Shepelev <anton.txt@g{oogle}mail.com> - 2024-05-13 14:24 +0300
  Re: `sqlcmd' defective by design? Anton Shepelev <anton.txt@g{oogle}mail.com> - 2024-05-13 17:32 +0300
  Re: `sqlcmd' defective by design? Erland Sommarskog <esquel@sommarskog.se> - 2024-05-13 22:44 +0200
    Re: `sqlcmd' defective by design? Anton Shepelev <anton.txt@gmail.moc> - 2024-05-14 01:05 +0300
      Re: `sqlcmd' defective by design? Erland Sommarskog <esquel@sommarskog.se> - 2024-05-14 21:23 +0200

csiph-web