Viewing 15 posts - 76 through 90 (of 398 total)
concatenation in query and bcp query out.
select 'Andrews Phone Book'
union
select 'phone:'+col from table
union
select 'End of Phone Book'
March 23, 2005 at 10:02 pm
declare @allplancode int
select @allplancode = count(*) from plancode
select plancode, count(*) as plancodecnt , 100.0 * count(*) / @allplancode as percent
from thetable
group by plancode
March 17, 2005 at 6:19 pm
A normal join from table and view. something like
select a.*
from creditors a
inner join guptaview b on a.credid = b.credid
March 16, 2005 at 8:05 pm
create view guptaview as
SELECT *
FROM OPENQUERY(PROGEN, 'SELECT * FROM sysadm.creditors') a
March 16, 2005 at 7:50 pm
if the Gupta sql base table is small, then view in sql server using openquery may help for the real time join.
March 16, 2005 at 5:45 pm
login use query analyzer to change user's default db.
March 16, 2005 at 5:38 pm
If in query analyzer, check you connection properties, make sure Set noexec is not on.
March 15, 2005 at 5:48 pm
make a cmd file to automate your ftp process. something like
z:
ftp -s:ftpfile 127.0.0.1
in the ftpfile, put login password etc, like
username
password
lcd cms
as
mget [name of file]
bye
In DTS, use Execute Process...
March 15, 2005 at 4:31 pm
try to put go between each statement to avoid confusion.
From your statement, there was no 'table'.
March 14, 2005 at 9:22 pm
check involved table in stored procedure, sp_depends can help you.
March 6, 2005 at 4:21 pm
Viewing 15 posts - 76 through 90 (of 398 total)