Viewing 15 posts - 6,211 through 6,225 (of 8,753 total)
Quick thought, isnull is implemented as a case statement under the bonnet/hood, performance tends to be the same for equal statements.
😎
February 1, 2015 at 11:08 pm
Jeff Moden (2/1/2015)
jarick 15608 (2/1/2015)
February 1, 2015 at 12:02 pm
jwiseh (1/31/2015)
I remember the pain of working with a system where a developer had chosen the TIME data type to store the number of hours worked in a day....
January 31, 2015 at 3:48 pm
Andy Hogg (1/31/2015)
Eirikur Eiriksson (1/31/2015)
...phone number as decimal with the fraction as the extension...You have got to be kidding me!!! :w00t:
Just like "The Evil That Men Do", but this time...
January 31, 2015 at 3:34 pm
Don't know where to start, possibly EF choice of geography as varbinary(max) or XML as nvarchar(max). Other peculiarities would be Currency Exchange Rates as int, Social Security Number as datetime,...
January 31, 2015 at 2:24 pm
Could you please check your data sample, somehow id doesn't look right or I'm missing something
😎
January 31, 2015 at 12:42 pm
Quick question, is this ERD an accurate interpretation?
😎
...
January 31, 2015 at 11:52 am
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
Viewing 15 posts - 6,211 through 6,225 (of 8,753 total)