Viewing 15 posts - 781 through 795 (of 928 total)
To have a chance of answering this we should see example data and the code. Have a look at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for guidance on providing these.
BrainDonor.
April 7, 2010 at 2:07 am
No.
The Master db stores the system-level details of the SQL Server system it is installed on, so you wouldn't want to do such a thing. Have a look at 'Master...
April 6, 2010 at 1:08 am
pureaqua (3/31/2010)
SELECT 'GRANT EXECUTE ON [' + CONVERT(VARCHAR(255),NAME) + '] TO FredGRP'
FROM sysobjects
WHERE xtype IN ('P', 'X', 'FN', 'IF')
The "EXECUTE" can NOT be granted on IF (inline table-valued-function).
I...
April 1, 2010 at 1:08 am
Next time, supply the code required to create some test data - it makes it easier for others, so they'll be more willing to help. It also reduces the chances...
March 30, 2010 at 1:57 am
Alvin Ramard (3/29/2010)
BrainDonor (3/29/2010)
Alvin Ramard (3/29/2010)
Now if that other 70-433...
March 30, 2010 at 1:30 am
Paul White NZ (3/29/2010)
BrainDonor (3/29/2010)
March 29, 2010 at 9:02 am
Alvin Ramard (3/29/2010)
Now if that other 70-433 book would just...
March 29, 2010 at 8:58 am
Jack Corbett (3/29/2010)
BrainDonor (3/29/2010)
March 29, 2010 at 7:35 am
How many other countries change their clocks forward in the Spring? I've woken up in the dark for the first time in weeks and my brain is complete mush.
March 29, 2010 at 2:12 am
BrainDonor (3/29/2010)
Bhuvnesh (3/29/2010)
Why it is treating 0 and '' (Blank) same ? inselect nullif( 0, '')
Because you have a number and a character field to compare, SQL...
March 29, 2010 at 1:59 am
Bhuvnesh (3/29/2010)
Why it is treating 0 and '' (Blank) same ? inselect nullif( 0, '')
Because you have a number and a character field to compare, SQL will...
March 29, 2010 at 1:55 am
March 25, 2010 at 8:22 am
Trybbe (3/25/2010)
Select distinct staffno
from dtiheadcount dt inner join reportingstructure re
on dt.costcenter = re.costcenter
Where period =...
March 25, 2010 at 5:36 am
Yet another way:
--CREATE TABLE tblCompany(
--CompanyIDint,
--CompanyNamevarchar(max),
--Activevarchar(5),
--LastModifieddateTime
--)
--INSERT INTO tblCompany(CompanyID, CompanyName, Active, LastModified)
--SELECT 1, 'A Company', 'Yes', '01 MAR 2010'
--UNION
--SELECT 2, 'Another Company', 'Yes', '01 MAR 2010'
--UNION
--SELECT 3, 'Yet Another Company', 'No', '01...
March 25, 2010 at 4:07 am
Viewing 15 posts - 781 through 795 (of 928 total)