Viewing 15 posts - 391 through 405 (of 442 total)
Hi,
You can use this kind of query:
Select ISNULL(ColumnNameWithNullValues,0), SomeOtherColumn from SomeTable
Hope it helps,
Cheers,
J-F
January 16, 2009 at 11:44 am
Thanks Gail, this post helped me understand how the indexes work on inequality columns! I'm very grateful you took some time to show me how it works in details,
Thanks again,
Cheers,
J-F
January 13, 2009 at 7:51 am
For the next query, here is what happens. Seems the optimizer does not use the last part of the query 's'
SELECT *
FROM Translation ...
January 12, 2009 at 9:47 am
Nice, I did not know the like reacted as a between when there is a wildcard in it.
But, if it works as a between, how do write this expression as...
January 12, 2009 at 9:30 am
Remember that because of the inequalities it can only seek on one column, so having the other two in the key provides no benefit over having them in the include.
I'm...
January 12, 2009 at 9:08 am
Varchar is the basic string type. nvarchar is for handling unicode characters, such as é, or other language characters.
You can change the table datatype to nvarchar, but be aware that...
January 9, 2009 at 12:16 pm
Please post some data using the following http://www.sqlservercentral.com/articles/Best+Practices/61537/.
It will help people help you, since they will have some real data. Try to explain what you want to do and give...
January 9, 2009 at 11:56 am
Isn't this feature deprecated? I thought I read not to use this somewhere, maybe my memory had gone wacko, but I prefer to do this in a select, then using...
January 9, 2009 at 10:17 am
Nice, I have to say I prefer this one a thousand times, since there is no cursor. I did not know you could append in a string from a multirow...
January 9, 2009 at 7:22 am
No worries, my script was not even working until I got some test data, 😉
And I also forgot to divide by the count, hehe!
Cheers,
J-F
January 8, 2009 at 1:55 pm
I believe you must have a linked server to actually do this. This is why it is failing when you are trying this locally on your machine.
What you can...
January 8, 2009 at 1:45 pm
Here is a working and tested example. Please post your data next time, it is really a lot longer for us to help you when we cannot test what we...
January 8, 2009 at 1:39 pm
Even though I do not like the cursor, I don't think there could be another way since you are trying to do some dynamic SQL There. Here's a solution, I've...
January 8, 2009 at 1:09 pm
Agreed, nothing to tweak there, if you can get the query to work perfectly on your workstation, then the query runs fine. Maybe the bandwidth connection between the app and...
January 8, 2009 at 9:18 am
Could this be an access issue? Are you connected remotely to the server, and if yes, by what means.
I had that kind of situation when connecting to the sql server...
January 8, 2009 at 8:52 am
Viewing 15 posts - 391 through 405 (of 442 total)