Viewing 15 posts - 1,051 through 1,065 (of 1,216 total)
Well, maybe you should ask somewhere else - this is SQL Server Central, I'm not sure if anybody will be able to help you... and surely not if you don't describe...
March 10, 2005 at 5:21 am
To sum it up very briefly - both is allowed, SET is recommended and SELECT is more efficient and more flexible :-).
I mostly use SET only when setting fixed value of...
March 10, 2005 at 5:14 am
I think the reason could be somewhere in the settings (your PC could have other settings than her PC)... did you try to ask her to run the same query...
March 10, 2005 at 5:03 am
Hello,
I still think it should be possible to do it without dynamic SQL, but have no other ideas than those already presented... However, if dynamic SQL will be your solution,...
March 8, 2005 at 1:25 am
Wanderer,
as I understood Larry, this is not a permanent removal - it is used just to create a search pattern or matchcode or whatever you want to call it. In...
March 4, 2005 at 1:47 am
Ian has explained almost everything there is to explain... just a few details: The "n" varieties are useful only if you plan to use some special chinese or japanese character...
March 4, 2005 at 1:38 am
Well, if it's just removing certain characters, I would recommend using REPLACE - this will work without cursor. You can nest several REPLACEs, which makes it a lot easier.
SELECT REPLACE(BusNm,...
March 4, 2005 at 1:14 am
Wouldn't it be better to store all items (main and substitute) in one table and define the substitution using a substitution table with columns MainItem, SubstituteItem? If any item can...
March 3, 2005 at 8:56 am
If it is just a one-time issue and you have no experience with DTS, you can import the data into SQL table as they are and concatenate after. If you'll be doing...
March 3, 2005 at 6:20 am
I have to say that I don't understand the question... what does it mean, 2 foreign keys on one column? Is it like you want to have a FK column...
March 3, 2005 at 1:42 am
Hi Farrell,
the error is caused by SUBSTRING( '13071961', 2, 2) , which should be SUBSTRING( '13071961', 3, 2) . Just a typo, I guess, because you have it right in...
March 1, 2005 at 1:10 am
Hi,
I tested rhunt's SQL and it does precisely what you need - as far as I can tell. I thought there was a typing error in it (superfluous FROM on the first...
March 1, 2005 at 1:03 am
That's not a problem, just add them to the inner query (aliased Q) and then select all you need from Q. If you have any problems, please post the whole...
February 28, 2005 at 4:07 am
I don't know how you wish to calculate percentage, but you can easily change the formula so that it suits your needs. And I suppose there are some columns from the...
February 28, 2005 at 3:23 am
Hm... since you didn't provide any info about your query, it is rather complicated to find a solution. What about this (sorry for the pseudo-SQL, but you didn't supply anything...
February 28, 2005 at 2:40 am
Viewing 15 posts - 1,051 through 1,065 (of 1,216 total)