Viewing 15 posts - 1,111 through 1,125 (of 2,038 total)
Hi
If you just want to know how to convert VARCHAR to BIGIN please have a look to BOL for "CONVERT function"
Greets
Flo
May 5, 2009 at 3:10 pm
David Burrows (5/5/2009)
😀
Great post #4,000!! 🙂
May 5, 2009 at 8:35 am
MarkusB (5/5/2009)
May 5, 2009 at 6:53 am
Hi
You have to convert your XML to NVARCHAR(MAX), then you can insert into a TEXT column:
UPDATE @t SET MyText = CONVERT(NVARCHAR(MAX), MyXml
Two things:
* TEXT data type is marked as deprecated...
May 5, 2009 at 5:57 am
Hi
One way would be to fake the date with DATEADD in case of sundays:
DECLARE @t TABLE (Id INT NOT NULL, DateEntered DATETIME)
INSERT INTO @t
...
May 5, 2009 at 4:33 am
Hi
The client side formatting does not depend on the server configuration (except it is returned as VARCHAR). It depends on the client system. Either the regional settings (you wrote that...
May 5, 2009 at 4:20 am
Heh...
Just finished my (about 600...) tests and working on the final results. Print, read 10 times, correct 65,345 times... I try to publish end of this week.
May 4, 2009 at 3:30 pm
Hi Roy
Great article!
Thanks
Flo
May 4, 2009 at 3:21 pm
Sorry for disturbing the silence of The Thread but I have to get this off my chest...
I HATE EXCEL!! I'm about to finish my first article and want to insert...
May 3, 2009 at 2:11 pm
David Burrows (8/9/2006)
EXECUTE('select*from['+@dbname+'].dbo.sysfiles')to stop sql injection attack
Did you try QUOTENAME 😉
DECLARE @dbname NVARCHAR(256)
SELECT @dbname = 'tempdb]; DROP DATABASE master'
PRINT ('select *...
May 2, 2009 at 11:25 am
I didn't try but maybe it depends on the fact that column "name" of "model.dbo.sysjobs" is data type "SYSNAME" which is a user defined type.
Try to use CONVERT with type...
May 2, 2009 at 9:43 am
Hi
As first, you should XML with "[ code="xml" ]" and "[ /code ]" (without the quotes and spaces). Otherwise it will not appear in forum
As second, the error message would...
May 2, 2009 at 9:35 am
Hi
You can use a OPENQUERY for this:
SELECT *
FROM OPENQUERY (Local_Link_Sa, 'ALTER INDEX IX_BigTable_AnyInt ON Sandbox.dbo.BigTable REBUILD SELECT 1')
Just tried and it seems to work. You just have...
May 2, 2009 at 9:07 am
Hi Lowell
I'm not sure if it works, but try:
"My Account" -> "Forums Control Panel" -> "Topic Subscriptions" (bottom left corner) -> Select the topic, select "Unsubscribe" on bottom and click...
May 2, 2009 at 8:13 am
You can create a scalar UDF which gets the ProductId, DateFiel1 and DateField2 and checks if another Product already exists. Then you can use the UDF in your CHECK constraing.
Greets
Flo
May 2, 2009 at 5:27 am
Viewing 15 posts - 1,111 through 1,125 (of 2,038 total)