Viewing 15 posts - 8,446 through 8,460 (of 13,460 total)
i'm not a network expert, but if you have two different domains, the login mydomain\Lowell has no priviledges, and vice versa: the login yourdomain\AK1516 has no rights to anything on...
November 4, 2010 at 9:23 am
unless you have a trust set up between the two domains, you'll have to set up the linked server using a SQL login. you would not be able to pass...
November 4, 2010 at 9:08 am
note that even if the table with a billion rows had two columns, an ID and a varchar(30) for a name or something(38 bytes of data per row), you'd need...
November 3, 2010 at 2:15 pm
RPSql (11/3/2010)
An error occurred while executing batch. Error message is: Exception of type 'System.OutOfMemoryException'...
November 3, 2010 at 1:04 pm
what about this?:
Msg 3726, Level 16, State 1, Line 1
Could not drop object YOURTABLE because it is referenced by a FOREIGN KEY constraint.
you need to drop(or delete/truncate)
in the FK hierarchy...
November 3, 2010 at 12:32 pm
there is a suite of views in the msdb database that you want to look at:
take a look at these:
select * from dbo.sysmail_allitems
select * from dbo.sysmail_faileditems
select * from dbo.sysmail_sentitems
select *...
November 3, 2010 at 12:18 pm
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
Viewing 15 posts - 8,446 through 8,460 (of 13,460 total)