Viewing 15 posts - 12,106 through 12,120 (of 14,953 total)
You could create a proc or view that would return the correct information, then give permissions on that proc or view.
September 4, 2008 at 9:30 am
Change your structure. Make the days rows instead of columns. It's going to be MUCH easier to work with in the long run.
You really don't want to have...
September 4, 2008 at 9:10 am
SQL 2005 can contain XML data, but it is not, itself, an XML database.
September 4, 2008 at 9:06 am
It would look something like this:
;with IDs (ProdID) as
(select ProductID
from dbo.Table
where ProductID = @ProductID
union
select ProductID
from dbo.Table
where...
September 4, 2008 at 9:02 am
Glad to see you got it working.
September 4, 2008 at 8:52 am
jj, the problem with that is it has to be a duplicate, since the last duplicate.
Getting all the duplicates is easy. Getting the duplicates since the last duplicate is...
September 4, 2008 at 8:45 am
I would call worries about SQL upgrade paths a form of premature optimization at this point. In the event that you need to upgrade one database to SQL 2011...
September 3, 2008 at 1:56 pm
Didn't think to look at pages, just checked the total size. Yeah, a page fragment is the reason. Makes sense. Either way, including the clustered index in...
September 3, 2008 at 1:38 pm
Yes, that use of Row_Number will give you the ones that are duplicates.
What you have to do at that point is find the first one where the row number is...
September 3, 2008 at 1:31 pm
Are you sure there isn't more code before/after that, and that the failure isn't there?
I ask because I just ran this:
create table DBO.DATAVWOBJACCESSINFO (
RecID bigint primary key,
DATETIMEX datetime,
HANDLEID int,
ID int);
go
insert...
September 3, 2008 at 9:01 am
The scope-creep on this one is why I gave up on it. The original problem, as stated, has been solved for a long time, but it turned out the...
September 3, 2008 at 8:49 am
Depending on what you want, there are a couple of ways to go about getting it.
First, SQL Server has a number of functions that will return system data already built...
September 3, 2008 at 8:06 am
From what I'm reading, I would see 7 virtual servers for 7 applications as a serious waste of disk space and hardware resources. That judgement is based on your...
September 3, 2008 at 8:01 am
You can use OpenRowset to query Excel files, and you can use Update From to update from anything you can query. Or you can import the Excel file into...
September 3, 2008 at 7:36 am
Viewing 15 posts - 12,106 through 12,120 (of 14,953 total)