Viewing 15 posts - 13,156 through 13,170 (of 13,838 total)
Could you create a distinct view and run your query against that?
If not, please mention what other restrictions you have to work round.
Regards
January 3, 2006 at 3:23 am
Ah - I read that to mean the scheduled execution of a VB.NET app.
December 22, 2005 at 10:28 am
Can you specify the user / password in the OLEDB connection string and use that to connect to SQL Server and then just EXEC the stored proc?
December 22, 2005 at 10:11 am
Maybe try initialising @variable before the conditions to get rid of possible NULL issues. Eg
set @variable = ''
if not exists (select * from table where id = 1)
begin
set @variable...
December 22, 2005 at 10:06 am
I don't like it, but a combination of a trigger and xp_cmdshell will probably help you get there.
Why do you need to do this? (There may be another way.)
December 22, 2005 at 9:56 am
Your first solution looks fine to me, but this will find the character position of the (first occurrence of) space
declare @str varchar(50), @pos int
set @str = '4520-169 FEIRA'
set @pos =...
December 21, 2005 at 5:43 am
You need to ensure that SQL Server Agent is running under an account that has access to the network drive you are trying to access. To check this, from Enterprise...
December 21, 2005 at 4:03 am
Dinesh - I probably will not know the answer to this question, but I'm sure that it will help others who do to work out what the problem is if...
December 20, 2005 at 6:17 am
A boxer, perhaps?
OK, good point.
December 20, 2005 at 2:30 am
Here's one that should work:
select t.transactionnumber
from tbl t
join (select t.transactionnumber from tbl t where t.itemid = 'mouse') t1
on t.transactionnumber = t1.transactionnumber
join (select t.transactionnumber from tbl t where t.itemid =...
December 19, 2005 at 8:48 am
Are there any Scheduled Tasks on the server that may be running these jobs?
December 19, 2005 at 6:35 am
There will be other guys on this forum who have better experience with this than I (I've never had anything like that many servers to look after), but one way...
December 15, 2005 at 1:24 pm
Do you have network and admin access to all of the servers?
December 15, 2005 at 1:15 pm
Maybe you could put your script into a stored procedure and have your job run that?
December 15, 2005 at 1:01 pm
NULL is definitely a special case in SQL Server and cannot be treated as just another value (because it isn't). I bet lots of people on here have been caught...
December 15, 2005 at 11:38 am
Viewing 15 posts - 13,156 through 13,170 (of 13,838 total)