Viewing 13 posts - 346 through 358 (of 358 total)
Use the ...
print @cmd
instead of the exec to see what the query looks like. It looks like you have the single quotes off in the isnull section of the...
June 4, 2008 at 7:23 pm
SELECT * FROM msdb.dbo.sysmail_allitems
WHERE sent_status = 'failed'
June 3, 2008 at 9:07 pm
The default directory is C:\Program Files\Microsoft SQL Server\MSSQL\LOG\SQLAGENT.OUT
June 3, 2008 at 8:41 pm
I had this problem when I reinstalled sql server on a different drive. Check your SQLAGENT.OUT log file and see if you have any errors starting any of the subsystems.
June 3, 2008 at 8:29 pm
Try this...
SELECT A.*
FROM (
SELECT derivedtbl_1.DAY,
...
June 3, 2008 at 8:15 pm
It depends on your source. If you import from a file you can use something like...
INSERT INTO InventoryFeeds (InventoryXML)
SELECT InventoryXML
FROM ( SELECT * FROM OPENROWSET...
June 3, 2008 at 7:00 pm
DECLARE @Collation VARCHAR (100)
June 3, 2008 at 5:01 pm
Since the copy is not working from the article, I am posting it here. Maybe everyone will have better luck with this one.
--Query 1
DECLARE @Collation varchar(100)
DECLARE @sql...
June 3, 2008 at 12:52 pm
It looks like the formatting gets messed up when you cut and paste. This is what I got when I cut and pasted.
INSERT into ##TempSyncEXEC sp_msforeachdb
June 3, 2008 at 8:07 am
If you change the results to text you will not get ther error.
Depending on what you are doing you may be able to store the results in a temp table...
June 2, 2008 at 9:35 pm
There is a connectionstring property you can set for your datasources in SSIS. You can use a variable in the expression builder for the connectionstring property.
June 2, 2008 at 9:17 pm
You can get the number of spaces by...
Len(actorname) - Len(replace(actorname,' ',''))
If you are just looking for the last name in a three part name you can use the Reverse...
May 29, 2008 at 9:50 pm
Viewing 13 posts - 346 through 358 (of 358 total)