Viewing 15 posts - 916 through 930 (of 2,894 total)
charit0819 (11/19/2012)
Can any one plz tell me how to delete records from minimum 3 tables using inner join on the basis of a condition
You need to write SQL queries using...
November 19, 2012 at 5:23 am
duro654321 (11/17/2012)
right now on my search page the sql query i am using is similar to:
select * from table where name like '%search%'
and it returns the exact phrases perfectly
however...
November 19, 2012 at 4:37 am
Jeff Moden (11/17/2012)
Raymond van Laake (11/16/2012)
Regular expressions may be the fastest in another language but they're not necessarily the fastest in T-SQL because of the bit of overhead that a...
November 19, 2012 at 3:56 am
You need to use free-text wildcard "*" in your search string!
SELECT *
FROM table_name
WHERE CONTAINS(*, '"*eran*"');
Also, read my previous post regarding hyphens and ampersands... It will make it much more...
November 19, 2012 at 3:29 am
CELKO (11/18/2012)
I went through the forum and found out a way of concatenating row values into column using stuff, but can't figure out how to remove duplicates and only...
November 19, 2012 at 3:25 am
pricejt (11/18/2012)
I have an xml string and need to manipulate it within sql....
T-SQL is not the language for XML manipulation. It can parse it and it can create it, but...
November 19, 2012 at 3:03 am
When working with full-text, you need to remember that it's behaviour is not the same as LIKE.
You will need to do additional work (in T-SQL or/and application) in order...
November 19, 2012 at 2:55 am
dwilliscp (11/14/2012)
November 14, 2012 at 3:46 pm
HildaJ (11/14/2012)
November 14, 2012 at 9:21 am
dwilliscp (11/14/2012)
Why does this delete all my records, reguardless of company?delete Plant_Master
where EXISTS(Select Plant_CD from Plant_Master where company like 'MSC')
does at least one row exist in Plant_Master where company =...
November 14, 2012 at 9:09 am
See, the article I've pointed you to, makes the difference!
Your problem is not using table aliases! Your sub query concatenates all rows from dbo.TEST_TABLE2 because your filter it...
November 14, 2012 at 8:32 am
Jeff Moden (11/14/2012)
If you'd like to know more about how a Tally Table works and how it can be used as a...
November 14, 2012 at 8:28 am
Many work places do not allow file downloads from internet...
So, it will be much more helpful if you include your DDL scripts into post. Just wrap them with appropriate "code"...
November 14, 2012 at 6:36 am
You don't even need to use your function (especially such slow as it is right now based on loop).
You can do just this:
SELECT p.BILL_NBR
...
November 14, 2012 at 5:55 am
November 14, 2012 at 5:32 am
Viewing 15 posts - 916 through 930 (of 2,894 total)