Viewing 15 posts - 391 through 405 (of 522 total)
Simon Facer (5/27/2008)
The REPLICATE('-', 8000) has an implicit cast to NVARCHAR
Sorry Simon, this is not correct (or at least misleading).
The type conversion happens during the concatenation of the two strings.
--...
May 27, 2008 at 3:09 pm
Why not go one step ahead and store the data in a text file (xml) instead of a database.
Text files even support replication out of the box! And you should...
May 22, 2008 at 1:25 am
Hi Mark,
if I read your posts correctly, you are storing both balances AND activity in your ledger table, right?
It might make sense to split these up (maintain the balances separate...
May 21, 2008 at 4:58 pm
brewmanz.sqlservercentral (5/8/2008)
Christian Buettner (5/8/2008)
...And the provided link should be evidence enough.
To take the first bit of evidence presented and then dismiss all other evidence that disagrees is a bit...
May 8, 2008 at 2:52 am
The question is correct.
And the provided link should be evidence enough.
May 8, 2008 at 2:01 am
Good Question!
Although I doubt that this new implicit conversion is an improvement for SQL Server.
I would be interested to know why they have not allowed TRUE or FALSE as bool...
May 7, 2008 at 2:44 pm
Hm, the answer is kind of paradox.
Either the "the varchar is converted to int" or an "error occurs". But not both.
I would have preferred an answer like this:
...
May 6, 2008 at 11:56 am
Great Question! I almost stumbeled...
I only would have added this one as well:
SET ANSI_NULLS OFF
SELECT COUNT(ggg) FROM testnull WHERE ggg=1 OR ggg!=1 OR ggg=NULL;
May 6, 2008 at 11:37 am
Christian Buettner (5/2/2008)
saimsaboor (5/2/2008)
May 3, 2008 at 7:36 am
From my experience, XML is more or less document-centric.
It allows easy validation and "ETL" from a document using XSLT.
If a "document" is only rows & columns, then XML is probably...
May 2, 2008 at 3:44 pm
saimsaboor (5/2/2008)
May 2, 2008 at 12:20 pm
As I already stated in one of the previous QODs with a similar question:
The suggested answer does not work with languages other than english...
Try this instead:
WHERE '1;3;4;5;7;8' LIKE '%' +...
May 2, 2008 at 5:54 am
Hi Phil,
Doing file handling in ASP.NET doesn't mean you can't make your SQL Server secure. And I am not denying that it is possible to do file handling in SQL...
April 22, 2008 at 5:27 am
The problem with this is, that it is also perfectly simple to un-secure your database with xp_cmdshell.
In general you should use the right tools for the right tasks.
And to...
April 22, 2008 at 3:31 am
Hello shashank,
In my opinion you should not use the SQL Server DB engine for file handling. I don't know ASP.NET in detail, but I am pretty sure that there must...
April 22, 2008 at 12:16 am
Viewing 15 posts - 391 through 405 (of 522 total)