Viewing 15 posts - 1 through 15 (of 71 total)
Oh ok. If there's no way to express those rules in table, I will write SQL in my Stored Procedure
Thanks your Sir
February 23, 2019 at 2:01 am
Based on your input, I've this
DECLARE @i int
DECLARE @idx int
DECLARE @numrows int
-- enumerate the table
SET @i = 1
SET @numrows = (SELECT COUNT(*) FROM dbo.CRM)
IF @numrows > 0
...
August 26, 2014 at 9:15 pm
For
select *
from CV
left join DeclarationResponse dr on dr.CVID = cv.CVID and dr.DeclarationQuestionID in (9, 2)
This is the result
I only need to display record if DeclarationResponseID is not null. So, the...
April 14, 2014 at 12:50 pm
I knew my table design is silly.
To built column name and data, see below:-
1- Answer-Staff (9) is a DeclarationQuestionID=9 and Column is Answer
2- Response-Staff (9) is a DeclarationQuestionID=9 and...
April 14, 2014 at 12:08 pm
Oh sorry...sir
Here my SQL Server Agent,
I've a question based on below image,
1. What's Log on as Local System account?
2. What's Log on as This account - Network Service?
3. What's the...
July 26, 2012 at 6:49 am
In my services, this is my SQL Server (MSSQLSERVER)
1.
2.
3.
4.
I've a question based on below image,
1. What's Log on as Local System account?
1. What's Log on as...
July 26, 2012 at 6:06 am
Sorry sir. 😀
July 25, 2012 at 10:46 am
The conclusion is
1. Shrink log files -- index is not rebuild
2. Shrink data files -- index is rebuild
tq sir
July 25, 2012 at 10:40 am
Ok sir. I will find the script.
1. What's the different between shrink data file and shrink log file?
2. Which one (shrink data / shrink log) will enforce the database...
July 25, 2012 at 10:22 am
Oh. Got it sir.
Let's say, I want to shrink 10 database. Did you have any script to make it this possible?
July 25, 2012 at 10:11 am
Sir,
I want to shrink log file. Did you have the command?
July 25, 2012 at 9:51 am
Mark-101232 (4/13/2012)
with cte as (
select p.myID, p.programID, p.stSVT, r.subjectCd, r.merit, h.noOfMinSubject,
...
April 13, 2012 at 5:59 am
Viewing 15 posts - 1 through 15 (of 71 total)