Viewing 15 posts - 736 through 750 (of 2,647 total)
Bulelani M (6/11/2012)
June 11, 2012 at 8:10 am
Bulelani M (6/11/2012)
I'm using ssms
It worked this time around and still don't know why it didn't work.
I kind of said to myself, its one of those things...
June 11, 2012 at 7:26 am
Formatted:
PRINT 'Starting Student Master Table Re-creation'
PRINT 'Dropping temporary tables...'
DROP TABLE #enr_detail
DROP TABLE #demo
DROP TABLE #addr_split
DROP TABLE #reg_detail
DROP TABLE #subj_detail
DROP TABLE #assg_detail
DROP TABLE #assg_dispatch
DROP TABLE #assg_passed
DROP TABLE #assg_submitted
DROP TABLE #Tot_assg_dispatch
DROP TABLE...
June 11, 2012 at 5:57 am
Ok, I simplified you original code and took out all of the commented stuff so we can see this a bit easier for testing. What I need is some sample...
June 8, 2012 at 5:37 am
Meccer (6/7/2012)
Hi Guys,The "" is becuase I use the sql statement in c#
Ok, well your SQL is fine. Add a " before the UPDATE.
June 8, 2012 at 5:22 am
If it is simply C#, then the problem is that the UPDATE does not have a double quote in front of it. Should be this:
"UPDATE P SET Stock =...
June 7, 2012 at 12:42 pm
What happens when you run this:
SELECT *
FROM prices P
INNER JOIN #prices T
ON P.Avg = T.Avg
AND P.Colour = T.Colour;
Also, what's with all of your concatenation? Is that also in the...
June 7, 2012 at 12:32 pm
Bulelani M (6/7/2012)
Thanks but it's still not working at all:crying:
What does that mean? Same error? Different error? Not expected output?
June 7, 2012 at 8:28 am
sqlstud (6/7/2012)
I have used the below query. Is it Correct?
YEAR = @MLR_YR
AND (@CODE IS NULL OR CODE='' OR CODE=@CODE)
AND (@BATCH IS NULL OR @BATCH ='' OR BATCH=...
June 7, 2012 at 7:30 am
You will have to adjust your SP to accept an empty string ('') for those parameters and handle that. See Gail's blog post here to get the main idea....
June 7, 2012 at 6:16 am
sqlfriends (6/6/2012)
June 7, 2012 at 5:51 am
sqlfriends (6/6/2012)
I'm not sure that you completely understand yet. The jobs on a schedule will always run under the "service account" which is the NT SERVICE\SQLSERVERAGENT no matter which domain...
June 6, 2012 at 8:05 pm
Jeff Moden (6/6/2012)
June 6, 2012 at 7:57 pm
sqlfriends (6/6/2012)
also:
You cannot log into the server with the service account and get access to SQL Server, nor can you impersonate the service account and gain...
June 6, 2012 at 5:31 pm
sqlfriends (6/6/2012)
Sorry still confusing:
Quote from SQLKnowitall:
The domain user is not, the service account is. The domain user does not have to be a valid sql server login.
Quote from Jeff:
The service...
June 6, 2012 at 3:25 pm
Viewing 15 posts - 736 through 750 (of 2,647 total)