Viewing 15 posts - 5,551 through 5,565 (of 14,953 total)
If the master database goes down, and takes the other accounts with it, you may not be able to restore it. On the other hand, that's where the sa...
December 29, 2010 at 8:41 am
It looks like it would be:
select sum(rec_cnt)-count(*) as total_reject_cnt
Without the Group By, that should get you what you need, I think.
December 29, 2010 at 8:36 am
They're the same. sa is just a default sysadmin login. Nothing more nor less.
December 29, 2010 at 8:19 am
Roy Ernest (12/29/2010)
On another note, I have...
December 29, 2010 at 8:17 am
I've done both. A day working from home can be incredibly productive, but a day at the office can too. One offers more uninterrupted time, the other offers...
December 29, 2010 at 8:14 am
GilaMonster (12/29/2010)
I am really struggling for inspiration for a 24hop abstract. Would a session title 'Bad plan! Sit!' intrigue people, or kill them with laughter?
I love the title. I...
December 29, 2010 at 7:43 am
WayneS (12/28/2010)
(From a higher level) How to set up...
December 29, 2010 at 7:40 am
Yes, there are a number of ways to go about the mechanics of storing common data in one place. They all have advantages/drawbacks.
I'd say that, under most circumstances, maintaining...
December 29, 2010 at 7:37 am
Makes sense.
Let us know if you have any questions.
December 29, 2010 at 7:28 am
Abhijeet Chavan (12/29/2010)
GSquared (12/27/2010)
DECLARE @imported BIT;
SELECT @imported = null;
SELECT *
FROM #M_Vendor
WHERE DailysettlementYN = @imported
OR @imported IS NULL;
Change the value of the variable,...
December 29, 2010 at 7:27 am
Of course, you can't use dynamic SQL in a view, but that'll work for a proc.
December 28, 2010 at 2:11 pm
SQLkiwi (12/28/2010)
GSquared (12/28/2010)
Honestly, the only people I've ever met who weren't "a work in progress", were already dead. 🙂You meet dead people? :unsure:
Not only that, but I actually predicted I'd...
December 28, 2010 at 2:10 pm
You can do this via means like sp_MSForEachDB.
What I recommend, however, is if the data is the same in each database, move it to one database and have the rest...
December 28, 2010 at 2:08 pm
That kind of data formatting is usually done in the report or application it's being presented in. Most allow for that kind of thing pretty easily. Don't do...
December 28, 2010 at 1:16 pm
malleswarareddy_m (12/27/2010)
But when we diable using alter its as DDL .Please try...
December 28, 2010 at 1:14 pm
Viewing 15 posts - 5,551 through 5,565 (of 14,953 total)