Viewing 15 posts - 331 through 345 (of 608 total)
just trying to delete the user
May 18, 2011 at 11:06 am
Jsut re-ran dbcc checkdb
everything looks good now...
thanks you guys (and girls) rock...
May 11, 2011 at 9:06 am
No backup? Someone's not doing their job...
--------------------------------------------------------------------------------
I know...I know..not setup by me tho..the DBA before me skipped this Db for some odd reason. But that's an excuse I should...
May 11, 2011 at 7:58 am
phil..I added a select in between the begin and end....and got incorrect syntax near the keyword 'begin'
April 27, 2011 at 8:51 am
...I'm checking...moved, added, deleted parens....can't seem to get it..
April 27, 2011 at 8:33 am
I spoke too soon..
when I run gails script
IF EXISTS (select 1
from dynamicsgp_utilities.dbo.V_sfvouchers
where (sfid like 'EM-%' or sfid like 'EXP-REP%') and sfid not in
(
select pordnmbr from lpb..pm30200 where doctype...
April 27, 2011 at 8:24 am
I spoke too soon..
when I run gails script
IF EXISTS (select 1
from dynamicsgp_utilities.dbo.V_sfvouchers
where (sfid like 'EM-%' or sfid like 'EXP-REP%') and sfid not in
(
select pordnmbr from lpb..pm30200 where doctype...
April 27, 2011 at 8:19 am
Awesome...I see the error in my way..
Thanks everyone!
Good karma to you both.
April 26, 2011 at 2:33 pm
declare @cnt smallint
Select @cnt = count(*)
, glaccount, 'ACCOUNT NOT FOUND' ErrorReason
from dynamicsgp_utilities.dbo.V_sfvouchers
where (sfid like 'EM-%' or sfid like 'EXP-REP%') and sfid not in
(
select pordnmbr from lpb..pm30200 where doctype =...
April 26, 2011 at 2:21 pm
SQLRNNR -
I made your changes and got the error
Msg 102, Level 15, State 1, Line 8
Incorrect syntax near 'EM'.
April 26, 2011 at 2:01 pm
The original query works fine -
This statement -
select distinct glaccount, 'ACCOUNT NOT FOUND' ErrorReason
from dynamicsgp_utilities.dbo.V_sfvouchers
where (sfid like 'EM-%' or sfid like 'EXP-REP%') and sfid not in
(
select pordnmbr from...
April 26, 2011 at 1:58 pm
Hi Gail
I need to email notification if there are any records returned from that query.
So once the top part is working I need to do something like -
If @cnt >...
April 26, 2011 at 1:54 pm
Viewing 15 posts - 331 through 345 (of 608 total)