Viewing 15 posts - 121 through 135 (of 170 total)
Those are pretty old catalog tables now from SQL Server 2000. They've since been replaced by the likes of sys.database_principals and sys.database_role_members.
For more information, I'd suggest having a good...
May 17, 2013 at 9:33 am
Column aliasing is perfomed at selection, not as part of the column metadata (though you could do this via extended properties, I'm not sure how practical that would be to...
May 15, 2013 at 6:12 am
What you're describing you want to see sounds more like a fixed width file rather than a tab delimited file.
The purpose of delimited files is that you only need to...
May 15, 2013 at 3:37 am
GilaMonster (5/14/2013)
May 14, 2013 at 10:18 am
What messages, exactly? Are you sure that they're messages and not simply the results of the query being displayed to text?
Can you please provide the DDL statements for...
May 14, 2013 at 10:13 am
Try using the SQL Server Migration Assistant instead; it can be downloaded here:-
http://www.microsoft.com/en-gb/download/details.aspx?id=28763
May 14, 2013 at 9:52 am
With the values in your case statement provided with that dataset, that will simply produce 'N' for every row!
May 14, 2013 at 8:30 am
The only problem with this is that it doesn't produce the required dataset as there are rows with the value 'N' for the Response value of 15053.
So either the desired...
May 14, 2013 at 7:35 am
In the sample data you have provided, you are actually attempting to insert a string into your column rather than a NULL value, which then fails because your Respons and...
May 14, 2013 at 6:38 am
Heh, it's just yet another thing on my list of why upgrading to enterprise would be advisable.
I may just float the idea that regular transactional replication is effectively what they...
June 13, 2012 at 11:57 am
Ah I didn't realise you could use transactional replication with the simple model.
Unfortunately, we have the Standard edition of SQL Server, so snapshots are unavailable. 🙁
June 13, 2012 at 10:31 am
Thanks for the reply!
Some of the reasons for not using transactional replication is that a number of the databases that are only updated monthly use the simple recovery model (should...
June 13, 2012 at 10:14 am
This is the code for what I was referring to earlier; but I agree that Itzik Ben-Gan's gaps and islands techniques are well worth checking out.
CREATE TABLE #tmp
(ID int primary...
May 12, 2012 at 9:29 am
You're better off having two seperate queries, which are controlled by the parameter you put in.
Something like:-
/*Parameter Area*/
declare @StartDate as datetime
set @StartDate ='09-MAY-12'
declare @EndDate as datetime
set @EndDate ='09-MAY-12'
declare @With_MonthYear as...
May 12, 2012 at 4:28 am
Thanks, I'll check it out this afternoon!
May 12, 2012 at 3:46 am
Viewing 15 posts - 121 through 135 (of 170 total)