Viewing 15 posts - 6,226 through 6,240 (of 8,761 total)
Further on Jeff's answer, are you experiencing similar behaviour with other activities on this server? And other servers on the same network?
😎
January 31, 2015 at 1:31 am
My suggestion would be to use a Stored Procedure on the server, a SqlCommand object, set each parameter and exec.
😎
January 30, 2015 at 11:42 am
Next question, can you somehow test if this connection works outside the script task as if it doesn't then obviously the script task code will not work?
😎
January 30, 2015 at 11:29 am
Quick question, why are you using Script Task instead of ExecuteSQL for this if you have the values in local variables?
Second question, is the ADO.NET Connection correctly configured?
😎
January 30, 2015 at 11:18 am
spaghettidba (1/29/2015)
Eirikur Eiriksson (1/29/2015)
Quick solution which excludes any columns with a character after the column prefix...
NOT LIKE CONCAT(@COL_PREFIX,N'%[A-Z,a-z]%');
I don't think this is enough to exclude symbols and other characters...
January 29, 2015 at 5:10 am
Quick solution which excludes any columns with a character after the column prefix
😎
SET NOCOUNT ON;
USE tempdb;
GO
IF OBJECT_ID(N'dbo.TBL_COUNT_COLUMNS') IS NOT NULL DROP TABLE dbo.TBL_COUNT_COLUMNS;
CREATE TABLE dbo.TBL_COUNT_COLUMNS
(
field1 ...
January 29, 2015 at 4:11 am
prasadau2006 (1/28/2015)
I need help with the following query, this query is taking more than 20mins to complete. I'm using a left join to
pull the data.
Query:
Insert into dbo.SecondTable
Select b.*...
January 29, 2015 at 1:28 am
PiyaKaGhar (1/28/2015)
Hi how can i put multiple values in the variables.for eg:
Declare @w_man as varchar
set @w_man = ('julial','BEVERLEYB', 'Lucy') and few more names.
I am getting syntax error(,)
Quick answer, you...
January 28, 2015 at 6:05 am
Jeff Moden (1/23/2015)
DECLARE @PassedInDate DATETIME;
SELECT @PassedInDate = '15 OCT 2014'
;
SELECT Wk# = ROW_NUMBER() OVER (ORDER BY wk.MondayDate), wk.MondayDate
FROM...
January 28, 2015 at 12:56 am
Quick thought, is TCP/IP enabled?
😎
January 26, 2015 at 9:59 pm
Quick thought, the problem doesn't require a complex table structure, something like this should do
😎
+----------+ ...
January 25, 2015 at 7:38 am
Quick thought, seen this behaviour occasionally on SQL Server 2008, caused by an implicit cast or at least adding the N'' has fixed the problem.
😎
Try changing
convert(xml,'<xml><![CDATA[' + cast(TABLE.COLUMN...
January 25, 2015 at 5:21 am
GilaMonster (1/23/2015)
create table [where]
([where] char(5),
[from [where] varchar(25),
[select [where from [where] varCHAR(50),
)
go
insert into [where] values ('from where', '[from [where]]', 'select...
January 23, 2015 at 10:06 am
Quick question, can you post the DDL and some sample data as an insert statement, makes it easier to help?
😎
January 22, 2015 at 12:24 pm
Viewing 15 posts - 6,226 through 6,240 (of 8,761 total)