Viewing 15 posts - 631 through 645 (of 668 total)
There are a couple of different ways to handle this. You can use an Execute As statement to impersonate a user or you can sign a procedure with a...
December 2, 2009 at 6:15 am
SalesPersonID and ContactID are 2 different fields in the SalesOrderHeader table. The SalesPersonID is not 278 when the ContactID = 'Carla L. Eldridge'. That's why you are getting...
December 1, 2009 at 9:55 am
Select ltrim(rtrim(substring(CONVERT(CHAR(19), getdate(), 0),12,10)))
December 1, 2009 at 6:22 am
are the group tables all the same structure? If not, then are you stubbing out the fields that don't exist between tables? do all the group tables start with...
November 25, 2009 at 12:30 pm
You are correct in saying that it has to do with the file groups. When the fourth FileGroup is created it is assigning the files at the same time....
November 20, 2009 at 6:18 am
if you set the results to a variable, then you can try this
declare @tper varchar(max), @pos int
set @tper = ''
select @pos = position, @tper = @tper + nom +...
November 12, 2009 at 6:33 am
why wouldn't you just comment this code out or remove it altogether?
November 2, 2009 at 9:09 am
I setup a SharePoint web site that I share out to the rest of the company. As I find useful scripts, I post them out to the site. ...
October 30, 2009 at 5:45 am
It's interesting. I'm getting the same type of results. When I put the results into a temp table, then the query return immediately.
select item as item1 into #temp1...
October 28, 2009 at 8:26 am
can you provide table layouts, sample data and expected results?
October 28, 2009 at 7:39 am
Just found out by stopping and starting DTC on developer's machine, freed the lock. But I should still be able to delete the lock through SSMS, no?
October 15, 2009 at 1:00 pm
Need more info than this. What are the 2 middle columns? What is the logic needed to calc the dates? etc...
October 13, 2009 at 7:35 am
You were looking for 441, but your example showed 444,411 which won't match anyway. I added these two to the original and 2 of the 3 showed up, which...
October 9, 2009 at 6:47 am
SQL's trying to do an implicit conversion of the varchar field and failing. '441,443' cannot be converted because of the comma. This will work, but it could cause...
October 9, 2009 at 6:28 am
Have you tried rounding?
select round(DATEDIFF(DAY, 'May 23 1992', 'May 23 2009')/365.2422,2)
select round(DATEDIFF(DAY, 'May 23 1992', 'May 25 2009')/365.2422,2)
select round(DATEDIFF(DAY, 'May 23 1992', 'Nov 23 2009')/365.2422,2)
October 5, 2009 at 6:08 am
Viewing 15 posts - 631 through 645 (of 668 total)