Viewing 15 posts - 9,691 through 9,705 (of 13,880 total)
One way is to save my result in temp table and display it but i know there might be some other better way to perform this..
Use a reporting tool. This...
August 6, 2013 at 11:42 pm
Eskandari (8/5/2013)
Consider the case that we are looking for a particular term, for example, the word network.
A word can be located anywhere, such as the subject...
August 6, 2013 at 6:06 am
Erland Sommarskog (8/5/2013)
Ironically, SQL 2012 includes a...
August 5, 2013 at 11:57 pm
rs80 (8/5/2013)
Thanks Tim. I already had tried your recommendations, but I still couldn't get the correct value saved in the table. I couldn't solve this issue at the end.
Please...
August 5, 2013 at 11:52 pm
Mike Dougherty-384281 (8/5/2013)
zerko (8/4/2013)
Select * From Employee /*Update Employee
Set LastName = 'Smith'
--*/
Where LastName = 'Smeith'
So I can now write quite a complex update statement if needed, it's protected in...
August 5, 2013 at 1:00 pm
As Elliott suggests, this is really a T-SQL performance question.
Unless you are suggesting that the proc runs more quickly when executed in SSMS than in SSIS?
If this is the case,...
August 5, 2013 at 12:49 am
ssurekha2000 (8/3/2013)
sample data attachedi hope this is the proper for you to proceed
select from table1
where exists (select 1 from table1 where col1 = 'd') and exists (select 1 from...
August 3, 2013 at 4:42 am
Your first post mentions one table. Now you are mentioning many - how was I supposed to know this?
I made a mistake in trying to help you, because you did...
August 3, 2013 at 2:53 am
Nothing is displayed the way you have tried because you are saying:
'Give me all rows where col1 is d and col1 is i'
Col1 cannot simultaneously contain both values - hence...
August 3, 2013 at 2:05 am
ssurekha2000 (8/3/2013)
field1 will have values as 'd' and 'i'
if the field1 of table has both the values then only the data shld e displayed
but...
August 3, 2013 at 2:03 am
JoNTSQLSrv (8/2/2013)
Phil Parkin (8/2/2013)
I see.You can probably get quite close through the use of PATINDEX and diligent use of wildcards. Have you tried this?
PATINDEX is just retrieving the index...
August 2, 2013 at 5:12 am
I see.
You can probably get quite close through the use of PATINDEX and diligent use of wildcards. Have you tried this?
August 2, 2013 at 3:55 am
kevin_nikolai (8/2/2013)
For SQL Reports stored procedures you most definitely want to use "SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED".--
If you can guarantee that the database is and will be in a...
August 2, 2013 at 3:34 am
Presumably you are using some sort of front-end application (Winform/Web) to get this info from the user. This validation should be done there and not by SQL Server.
August 2, 2013 at 3:30 am
Viewing 15 posts - 9,691 through 9,705 (of 13,880 total)