Viewing 15 posts - 2,746 through 2,760 (of 3,616 total)
Darwin Information Typing Architecture.
It uses XML for content mark-up. The organisation of the content is disciplined and the system is designed to merge topics of information together into a...
April 26, 2005 at 1:52 am
This does the trick with CAST
IF @ColumnName IS NOT NULL
BEGIN
INSERT INTO #Results
EXEC
(
'SELECT ''' + @TableName + '.' + @ColumnName + ''', LEFT(CAST(' + @ColumnName + 'AS VARCHAR(3630)), 3630)
FROM '...
April 26, 2005 at 1:46 am
The stored procedure is designed to search for columns and records where a supplied string is contained within the column.
Numeric datatypes won't work in this way. What exactly is...
April 25, 2005 at 1:47 am
The difference is that an entire system would stop functioning correctly if it couldn't cope with the rollover to a new century, where as if you don't use XML....so what?
April 22, 2005 at 7:29 am
As far as I am concerned XML was supposed to be something that separated out content from presentation for the web. It was a development of SGML.
I agree with...
April 22, 2005 at 4:26 am
What happens if you create and explicit temporary table of the require structure and do several insert selects instead of the union query?
April 21, 2005 at 6:58 am
There are 2 parts to this.
DATEPART returns an integer and therefore you must CAST or CONVERT the returned value if you want to concatenate the string.
SELECT DATENAME(MONTH, DATE)+', '+ CAST(DATEPART(YY,DATE)...
April 21, 2005 at 4:59 am
EXEC sp_attach_db @dbname = N'<>',
@filename1 = '<>',
@filename2 = '<>'
April 21, 2005 at 4:48 am
Well, if all you are doing is SELECT then I would guess that the offending column in one of the tables in the VIEW is NOT NULLable.
When the UNION operation...
April 21, 2005 at 4:45 am
I could be getting mixed up with Clustered Indexes here but I thought a primary key had an affect on the maintenance of other indices. something to do with...
April 19, 2005 at 1:52 am
Anything is possible given time and money.
There are probably ActiveX controls out there that will do exactly what you want.
I would not feel comfortable letting users fire off queries without...
April 18, 2005 at 5:49 am
Be very sure that you are in the correct database when you run this.
DECLARE @sObjectName NVARCHAR(128)
--Loop through all table objects.
SET@sObjectName = ''
WHILE@sObjectName IS NOT NULL
BEGIN
SELECT@sObjectName = MIN ( Name )
FROMSysObjects
WHEREType='U'...
April 18, 2005 at 5:42 am
Does your stored procedure depend on a view?
If the structure of the underlying tables for a view alter then the view can get confused as to which columns to retrieve....
April 18, 2005 at 5:38 am
SQL seems to handle it without any problems
Try select CAST(0xF43C2 AS INT)
April 18, 2005 at 3:04 am
Firstly, we always call stored procedures from our ColdFusion Apps
If in any doubt at all we pass the dates into the procs as varchars but in a known format. ...
April 18, 2005 at 2:00 am
Viewing 15 posts - 2,746 through 2,760 (of 3,616 total)