Viewing 15 posts - 3,766 through 3,780 (of 8,731 total)
Sjey (11/19/2015)
Thank you very much Luis.
You're welcome.
Now the most important question. Do you understand how the code works? Would you be able to explain it if needed?
Remember that you'll be...
November 19, 2015 at 12:07 pm
Jack Corbett (11/19/2015)
Sean Lange (11/19/2015)
It is however pretty clever.Talking about me again. I'm both "pretty" (in a very masculine way) and "clever". 😛
As my wife says, mother's...
November 19, 2015 at 11:36 am
Something like this? Or I misunderstood the question?
CREATE TABLE Company_Messages(
CompanyId INT,
MessageID INT,
CONSTRAINT PK_Company_Messages PRIMARY KEY (CompanyId, MessageId),
...
November 19, 2015 at 11:30 am
You're missing the obvious way to get the current date. :hehe:
USE [msdb]
GO
DECLARE @jobId BINARY(16);
EXEC dbo.sp_add_job @job_name=N'GetCurrentDate',
@enabled=1, @job_id = @jobId OUTPUT;
EXEC dbo.sp_add_jobserver
@job_name = N'GetCurrentDate' ;
EXEC...
November 19, 2015 at 11:24 am
vantuan02t1 (11/19/2015)
I want to use a variable (ex: @test-2) to replace value 'College' in LIKESample:
Select * from Table_1 where Description like N'%@test%'
We already know this. I already post a test...
November 19, 2015 at 11:05 am
Actually, have you tried this?
Declare @test nvarchar(50)
select @test = N'College'
I'm assuming that you have a unicode character in the value which won't translate correctly into ASCII strings, instead of...
November 19, 2015 at 10:51 am
vantuan02t1 (11/19/2015)
Declare @test-2 varchar(50)
select @test-2 = 'College'
(1) Select * from Table_1 where Description like N'%' + @test-2 + '%'
But test result is different with
(2)...
November 19, 2015 at 10:46 am
I'm sorry, I'm just watching too much Green Batman Arrow, lately. 😀
November 19, 2015 at 10:24 am
How did you declare the variable?
Using this, you might get a hint:
PRINT N'%' + @test + '%'
November 19, 2015 at 10:21 am
jasona.work (11/19/2015)
So I'm posting it here...
Just for...
November 19, 2015 at 10:11 am
You have the wrong formulas to calculate each part. Check my previous post for correct formulas.
November 19, 2015 at 9:58 am
Jeff Moden (11/19/2015)
Easy guys. 'Tis the season to be jolly. 🙂
That's me being jolly.
November 19, 2015 at 9:13 am
sestell1 (11/19/2015)
I like to add square brackets around my nested schemas. :-D:crazy::hehe:
CREATE SCHEMA [[a]].].[c]]]
I'm not sure if that's confusing enough. 😀
November 19, 2015 at 9:12 am
Minnu (11/19/2015)
Thanks its working good.also wants to delete from table before insert.
is it possible in this view...
The insert is not part of the view, you might want to use a...
November 19, 2015 at 8:37 am
ratloser99 36160 (11/19/2015)
Excuse me, but this reply doesn't help me :unsure:
Seriously? And should I know why? Or should I guess?
It's a basic programming fact that variables have scope. In T-SQL,...
November 19, 2015 at 8:33 am
Viewing 15 posts - 3,766 through 3,780 (of 8,731 total)