Viewing 15 posts - 8,461 through 8,475 (of 13,469 total)
mbender (11/3/2010)
Also what is the difference between the IsNull and Coalesce?
both provide the ability to substitute a null for a known value, but COALESCE is overloaded with a param array,...
November 3, 2010 at 9:10 am
not enough info Laura; we'd really need the specific error that occurs to offer solid advice; what does "causes SSRS to shut down" mean to you? that that one report...
November 3, 2010 at 8:22 am
I saw you've been making the same request for a long time. I had shown you in another thread on the same issue an english number-to-words example that you could...
November 3, 2010 at 6:33 am
you can use a CASE to decide which value to insert:(note you said update, but it's really an insert in your example)
INSERT INTO dbo.myNewTable
SELECT
RTRIM(LTRIM('Art')),
RTRIM(LTRIM('Incidents')),...
November 3, 2010 at 5:29 am
LOOKUP_BI-756009 (11/2/2010)
Thanks Lowell,It executed without any errors but nothing got copied over
an important piece of this puzzle is the account the SQL service is running under. Even though YOU...
November 2, 2010 at 2:32 pm
don't declare one of the variables as varchar(max); use a defined size instead; no error occurs when you do this:
declare @bak_source varchar(255), @bak_dest varchar(255), @xcopycmd varchar(1000)
set @bak_source='"\\qa\d$\Full_2010.bak"'
set @bak_dest='"\\dev\d$\Data"'
set @xcopycmd='xcopy '+...
November 2, 2010 at 2:11 pm
eek! SeanLange beat me to the punch on this one! you got some payback on that one, way to go Sean.
November 2, 2010 at 1:48 pm
Nope; that's a limitation of a CTE; it can be used only for one statement.
if you get rid of the pseudocode, and show us what you are actually doing, we...
November 2, 2010 at 1:47 pm
SeanLange (11/2/2010)
Lowell beat me to the punch again. 😛
lol happens way to often lately!
type faster! i guess it's a race now.
November 2, 2010 at 1:35 pm
a CTE is available just for the next statement in the query, so if it really needed to exist twice, you'll need a temp table.
You're not really doing anything that...
November 2, 2010 at 1:31 pm
rather than the AVG, i think you want the MIN([Sch Start]) for the earliest, or the MAX(([Sch Start]) for the latest date.
November 2, 2010 at 11:40 am
since you have a VPN, your machine is effectively on their network right?
what you'll want to do is fairly straightforward, the process is the same as you would do locally.
connect...
October 29, 2010 at 5:29 am
--snip edited wrong answer!--
October 28, 2010 at 12:14 pm
Joe you cannot make the aliases for the columns dynamically(at least not directly) , so you have to revert to dynamic SQL to do it instead...building the command, then executing...
October 28, 2010 at 11:05 am
this happened to me as well; a partial install kept me from redoing or uninstalling.
i googled "completely uninstall sql2005" and found this link at microsoft that gave the annoying...
October 28, 2010 at 10:55 am
Viewing 15 posts - 8,461 through 8,475 (of 13,469 total)