Viewing 14 posts - 1 through 14 (of 14 total)
What's the privileges you have assigned to the Login for which the Credential is created?
I have a similar issue and I am successful so far, only by giving sysadmin...
May 1, 2006 at 1:07 am
great examples!
If only duplicates need to be removed the ROW_NUMBER() may not be needed.
WITH cteEmployeeOrderedByMyRank AS
(SELECT RANK() OVER (PARTITION BY EMPID,FNAME,LNAME ORDER BY REFDATE ASC) AS PartitionRank
, *
FROM...
February 7, 2006 at 1:14 pm
Is the MERGE INTO .. there at all in the released version???
I searched the whole Books Online, it's nowhere to be found. Besides I tried executing the example given for this...
January 30, 2006 at 12:57 pm
If the Database compatibility level is 80 or less the following query returns the same output
select
* from a,b...
January 11, 2006 at 12:06 am
Really nice article. How about an article on "Going for First Job"?
Thanks
Balaji
December 8, 2005 at 1:42 pm
I had a similar situation when I needed to transfer the binary data from one server to other. Finall, I used Access file to transfer the binary data and than...
August 30, 2004 at 12:05 am
It could be because of the Authentication. Try using the same Windows Logon as you were using in TS for the QueryAnalyzer.
bm
August 8, 2004 at 11:26 pm
For Trigger:
SELECT OBJECT_NAME(a.[ID]) TriggerName, b.[Text] TriggerCode FROM SysObjects a INNER JOIN SysComments b ON a.[ID] = b.[ID]
WHERE a.Type = 'TR'
For Procedure:
replace the Type with 'P'
You can also find the Procedure...
June 30, 2004 at 12:12 am
Use COALESCE. e.g.,
declare @IDList as varchar(8000)
SELECT @IDList = COALESCE(@IDList + ', ', '') +
CAST([ID] AS varchar(5))
FROM IDTable
SELECT @IDList
Happy programming
June 27, 2004 at 11:33 pm
I don't know about Windows 2003, but in Windows 2000 Professional, it needed the latest Service Pack 4 for windows and the Service pack 3a for SQL 2000.
June 23, 2004 at 10:50 pm
I had faced earlier a similar situation and asked the Programmer to build a XML doc and pass it to a SP. In the sp using something like this
EXEC
June 23, 2004 at 10:38 pm
You can have a round about using table vairable to store the text data e.g.,
DECLARE @tt TABLE(
TextData text
)
INSERT INTO @tt VALUES('Sample Test')
June 23, 2004 at 10:21 pm
You can use TEXTCOPY utility to do it. It should be in the folder
C:\Program Files\Microsoft SQL Server\MSSQL\Binn
June 22, 2004 at 11:07 pm
Char is for Fixed length, so Trim functions(LTRIM, RTRIM) has no role to play. mbarrentine has given the right suggestion.
bm21
December 14, 2003 at 10:28 pm
Viewing 14 posts - 1 through 14 (of 14 total)