Viewing 15 posts - 8,746 through 8,760 (of 9,641 total)
Running:
Update table
Set char_field = Rtrim(char_field)
Does not actually trim as the char data type is fixed width so the data is right padded with spaces. ...
April 25, 2008 at 10:28 am
You have either not entered the name of the SQL Server correctly or the login does not have rights to the SQL Server.
April 25, 2008 at 10:23 am
I have only seen this error in a script component in a data flow task and it is because I did not click okay when exiting the component, I clicked...
April 25, 2008 at 10:21 am
Okay, now I understand the issue better.
You want to set the error output on your destination to either ignore error or redirect row, the issue is the that, what if...
April 25, 2008 at 10:16 am
I think you need to do it with an SP as I cannot find a way to break after n records.
April 25, 2008 at 10:12 am
The "With" defines that you are creating a CTE (Common Table Expression) and it needs to be the first part of a statement. You need to either put
";...
April 25, 2008 at 10:04 am
I don't think that there is a way to apply different formats to parts of text in a textbox. You need to use multiple textboxes to do this I...
April 25, 2008 at 9:56 am
Your other option is writing a custom aspx page with the parameters and calling the report passing the parameters and making password a hidden parameter.
April 25, 2008 at 9:53 am
RyanRandall (4/25/2008)
Like this?
insert tableA
select col1, col2, col3, ... ,'MHCIRC1208' from tableA where bspid like '%CI11%'
Or is 'MHCIRC1208' derived somehow?
Well you won this time and with a better solution.
April 25, 2008 at 9:49 am
If you want to insert new records and keep the old then this will work:
[font="Courier New"]SELECT
*
INTO
#data
FROM
tableA
WHERE
bspid LIKE '%CI11%'
INSERT INTO tableA
SELECT
[columns],
'MHCIRC1208' AS bspid
...
April 25, 2008 at 9:49 am
Yeah me too! Just glad I was first this time.:D
April 25, 2008 at 9:40 am
How are you merging the data from the sources? It's not clear to me if you have 2 or 3 sources? Is the reject a destination or a...
April 25, 2008 at 9:39 am
I don't have any experience with clusters, but it sounds like to each node has its own plan cached for the query. Try executing it on the slower node...
April 25, 2008 at 9:34 am
This should work:
[font="Courier New"];WITH cteCountByNameType AS
(
SELECT
firstname,
lastname,
itemType,
COUNT(*) AS itemCount
FROM
myTable
WHERE
created >= @start_date AND created < @end_date
GROUP BY
firstname,
lastname,
itemType
)
...
April 25, 2008 at 9:32 am
Have you tried running DBCC InputBuffer(blocking spid) to see what the blocking spid is doing?
Have you run sp_lock [blocked spid] to see what resources the job can't access?
April 25, 2008 at 9:16 am
Viewing 15 posts - 8,746 through 8,760 (of 9,641 total)