Viewing 15 posts - 6,316 through 6,330 (of 13,460 total)
Naomi N (11/30/2011)
01/01/2010 - 01/15/2010
01/16/2010 - 02/10/2010
The above two...
Lowell
November 30, 2011 at 7:36 am
What kind of development are they doing?
If it's anything like my shop, all our developers really need to use a common database for the common application we develop;
for example, If...
Lowell
November 30, 2011 at 6:17 am
all 1900 plus in one shot:
i hope the 18 is actually the database name and not the ID?
sp_MSForEachDB 'INSERT INTO SpecificDatabase.dbo.DBTables
( DatabaseID ,
TableName ,
ColumnCount ,
UserAdded ,
DateAdded ,
UserEdited ,
DateEdited ,
Active
)
SELECT ''?'',
TABLE_NAME,
NULL,
'''',
GETDATE(),
NULL,
NULL,
1
FROM...
Lowell
November 29, 2011 at 2:55 pm
operating system service pack does not enter into the equation.
SQL Server Service pack is the piece to look at.
Windows NT 5.2 (Build 3790: Service Pack 2)
that's the OS of both...
Lowell
November 29, 2011 at 1:23 pm
you pointed it out yourself, i think...the backup was created with SP3, but then SP4 was applied. the server is now SP4, but the backup's Sp3, and no longer compatible.
i'm...
Lowell
November 29, 2011 at 1:04 pm
see this post bu Gianluca, and his crosspost to his blog;
it does exactlyt what you are after:
http://www.sqlservercentral.com/Forums/FindPost1212804.aspx
by coincidence, he jsut updated that older thread.
Lowell
November 29, 2011 at 12:50 pm
i think he wants to pivot three columns into twelve total columns.(four sets of three), but i'm just guessing at this point.
Lowell
November 29, 2011 at 12:44 pm
just guessing here, but i'm thinking you upgraded your server AFTER you created the backup, and system databases are restricted tot eh same version...client databases can be upgraded on the...
Lowell
November 29, 2011 at 12:24 pm
another testable example, based on sys.objects:
SELECT name from sys.objects
order by CASE
--crap with an underscore at a certain position
--gets banished to the bottom
WHEN SUBSTRING(name,3,1) = '_'
THEN 2
ELSE 1
END,name
Lowell
November 29, 2011 at 12:19 pm
i think you just need something like this:
SELECT BL = CASE
WHEN Business_Line IS NULL
...
Lowell
November 29, 2011 at 12:12 pm
page number is the exact same logic, just handled like this:
ALTER PROCEDURE GETSOMEDATA(@PageNumber INT)
AS
BEGIN
SET NOCOUNT ON;
declare @increment int
SET @increment = 10
...
Lowell
November 29, 2011 at 11:39 am
a lame example:
CREATE PROCEDURE GETSOMEDATA(@Start INT,
...
Lowell
November 29, 2011 at 11:21 am
can't you easily see the credential_identity column from select * from sys.credentials?
why do you want to rename the name column if the credential_identity column has the...
Lowell
November 29, 2011 at 10:09 am
I don't use TOAD, but i do some Oracle conversions a lot.
i thought ALL concatenation in Oracle must use double pipes...why do i see you trying to + strings togehter?...
Lowell
November 29, 2011 at 9:01 am
thanks drew!
I'd hang my head in shame for not knowing that but since it's outside of my typical comfort zone, I don't feel too bad.
That cleared up my query really...
Lowell
November 29, 2011 at 7:26 am
Viewing 15 posts - 6,316 through 6,330 (of 13,460 total)