Viewing 15 posts - 2,656 through 2,670 (of 3,544 total)
If you want administer sql from the PC, install the client tools on that PC. This will set details in the registry and install the snap-in required.
May 12, 2004 at 6:59 am
But the table is flagged as a user table (whether by error, design or feature), therefore the correct answer is correct
from a certain point of view
May 12, 2004 at 6:55 am
Tom,
You are using table instead of db
Try this
declare @sql as varchar(300)
set @sql = '
declare @intCount as int
if exists (select name from ?.dbo.sysobjects where name = '+CHAR(39)+'users'+CHAR(39)+'...
May 11, 2004 at 8:49 am
No, you can use the OLE DB driver to connect between servers, it connects the same way as an application would. Linked servers are only necessary for 4 part naming...
May 11, 2004 at 7:32 am
You could use DTS to export from processing to production, or import to production from processing depending on which server you want to run the DTS.
May 11, 2004 at 7:13 am
REPLACE(
SUBSTRING(LEFT(@stringvalue,
CHARINDEX('Subject:',@stringvalue)-1),
CHARINDEX('To:',@stringvalue)+4,LEN(@stringvalue)),
CHAR(13)+CHAR(10),'')
May 11, 2004 at 7:08 am
How about
select P.vcFname, count(*) as x
from tbl_Projects P
inner join tbl_ProjectsResearchers PR
on PR.fk_intprojectID = P.pk_intProjectID
group by P.vcFname
May 11, 2004 at 6:46 am
For me, for each of my procs, I create a txt file containing sql to drop the proc (if it exists), report the drop, create the proc and report the create.
I...
May 11, 2004 at 6:35 am
or
select a.docnum
from F0413 a
inner join F0911 b
on b.docnum = a.docnum
and b.doctype IN ('PK','PO')
group by a.docnum
having sum(case when b.doctype = 'PK' then 1 else 0...
May 10, 2004 at 6:58 am
No apology needed. ![]()
I liked your code, it is the way I like to do it, not sure why I did my differently other...
May 7, 2004 at 6:53 am
Jeff,
Well done, I do not want to steal your thunder but I must take issue with your post.
First, my query does return the first value (ID=1920).
Second, I extended the data...
May 7, 2004 at 3:33 am
SELECT l_use, COUNT(l_use) countlu FROM #t
GROUP BY CAST(l_use as varbinary),l_use
May 6, 2004 at 9:56 am
This should work, but may be bad performance (depending on indexing) for a lot of rows
select a.*
from a
left outer join b
on b.col1 = (select max(col1) as col1...
May 6, 2004 at 7:27 am
I have been thinking about this and have not come up with a simple answer yet. I am still unsure of what you want. Your asp is showing the details already...
May 6, 2004 at 2:13 am
Josh,
Create a new thread with details of your procs / triggers and what you expect them to do. This QOD is contrived to produce the result. Without details of what...
May 6, 2004 at 2:04 am
Viewing 15 posts - 2,656 through 2,670 (of 3,544 total)