Viewing 11 posts - 1 through 11 (of 11 total)
I have written finally the query.
create function testtable (@address varchar(200))
returns @table table (alias varchar (200))
as begin
declare @alias varchar (200)
declare @value varchar (200)
declare @email varchar (200)
--set @alias='fff@dd.com, helper@sql-server-helper.com,vc@.com'
set...
August 23, 2014 at 1:52 pm
How I can get 'good'?
DECLARE @Email VARCHAR(100)
DECLARE @Email2 VARCHAR(100)
Set @email= 'helper@sql-server-helper.com'
set @email2='fff@dd.com, helper@sql-server-helper.com,vc@.com'
SELECT case when @email like...
August 21, 2014 at 12:34 pm
Thank you for the simple query.
Yes,the table alias column has more than 1 value.
I would like to compare address column with alias column.
If address column is equal alias column then...
August 17, 2014 at 4:44 pm
Hello,
I have added to declare table:
declare @info table ( nr int, [address] varchar(100), alias varchar(100))
INSERT INTO @info (nr, [address],alias)
Select 1,'x1@yahoo.com','X1@exc.yahoo.ex'
union all
Select 2,'X2@gmail.com','X2@exc.gmail.ex,X3@exc.bcm.ex'
union all
Select 3,'X4@gmail.com','X4@exc.gmail.ex,X5@exc.bbx.ex,X6@exc.bbx.ex'
union all
Select 4,...
August 17, 2014 at 11:13 am
Yes, I understand that i don't get any rows for this query.
Yes, It is the really data and it is very strange for this that i have written for you.
June 8, 2014 at 11:53 am
"Isin't working" is meaning that after this qeury in my db:
update numbers
set oper=1
from numbers where [Zvans no] like '%'+[Zvans uz]+'%'
I am getting - (0 row(s) affected)
June 5, 2014 at 3:03 pm
Yeas, this code is good, but some is bad in my table, perhaps with data, because this query doesn't working and I don't know why...
June 5, 2014 at 2:53 pm
Thanks, I have done with unpivot, it is nice.
May 14, 2014 at 9:02 am
Thank you very much!
I have added insteed retired this:
SUM(CASE WHEN D.Date BETWEEN ISNULL(W.StartDate,'1970-01-01')
...
May 1, 2014 at 6:06 am
Nice Job for working.
Yes I have done, but my query is working long, about 1minute, you one second 🙂
Talking about retired people some incorrect. I will try it, if I...
April 30, 2014 at 1:34 pm
I thinking too about a data table, but I haven't thought how do it.
User - It is employee of company
Retired date - the last working day in company
working day -...
April 30, 2014 at 11:32 am
Viewing 11 posts - 1 through 11 (of 11 total)