Viewing 15 posts - 571 through 585 (of 1,156 total)
DTS is probably considering the column a string, while in your format file you have it specified to a numeric value. You may have to import the column as...
February 24, 2008 at 2:05 pm
As Matt said, I would not hard code the % sign. I would send a string, with percent signs, if needed.
exec searchfilterbycolumn2 'Sale','%Title%'
This way if you do not need...
February 23, 2008 at 1:58 pm
Your query looks good. Thanks for the clarification though. I was a little confused :hehe:
February 22, 2008 at 2:13 pm
I am not sure I understand what you are trying to do. You say that you want a subset of data, but you also want to return all the...
February 22, 2008 at 1:34 pm
How big is your largest udf_value and do you ahve any special formatting in the nvarchar return?
February 22, 2008 at 10:05 am
I would simply use a different method. This one works quite well. Note that if you do not filter the routine type you will return functions and stored...
February 22, 2008 at 9:54 am
Ah, so you just need to make the data in columns 1,2,3,5, and 7 null.
UPDATE TABLENAME
SET COL1 = NULL,
COL2 = NULL,
...
February 22, 2008 at 8:49 am
VARCHAR(MAX) stored 2^31-1 or 2gb of data. Nvarchar(max) holds the same amount of data 2gb but actually holds half as many characters. This is because unicode characters require...
February 22, 2008 at 8:40 am
If you should choose to store images in the database versus storing image paths, you can use the new datatype varbinary(max). You can insert an image into your table...
February 22, 2008 at 8:27 am
but leave the structure in forma ll tables and the data for columns 4,6,8,9,10.
I am not quite sure what you are asking for. You can drop columns by using...
February 22, 2008 at 8:17 am
Adam Haines (2/19/2008)
--------------------------------------------------------------------------------
DECLARE @IDString VARCHAR(MAX)SET @IDString =(SELECT (ID) + ','FROM MYTABLE--WHERE FILTER CAN GO HEREFOR XML PATH(''))
This leaves a trail comma. I usually do something likeDECLARE @IDString VARCHAR(MAX)SET @IDString...
February 22, 2008 at 7:22 am
There seems to be some missing characters in your code can you please send me the actual code.
Your absolutely right, somehow my code got stripped. ...
February 22, 2008 at 6:45 am
That is because it thinks the type is an integer. Try casting it as a varchar.
SELECT CONVERT(VARCHAR(10),MYCOLUMN)
or
You could even try to pad and convert the column
SELECT RIGHT('0000000000' +...
February 21, 2008 at 6:17 pm
You cannot pass a table variable into a stored procedure using SQL Server 2005 (that I am aware of); however, this feature is available in SQL Server 2008.
article
February 21, 2008 at 6:11 pm
I agree with John. For the specs you are suppling, it sounds like you want to produce a SSRS report. SSRS allows you to group data together without...
February 21, 2008 at 4:00 pm
Viewing 15 posts - 571 through 585 (of 1,156 total)