Viewing 15 posts - 10,576 through 10,590 (of 14,953 total)
I'm currently supporting 2000 and 2005. We're working on getting rid of the 2000, but there are no current plans for 2008. None of the new features are...
March 9, 2009 at 12:34 pm
Varchar(max), definitely. Unless you need non-Latin characters, then NVarchar(max). (That's for things like Chinese characters, Greek letters, etc.)
March 9, 2009 at 12:29 pm
Run:select * from fn_trace_getinfo(0)
That'll tell you whether the trace is running or not (row 5 = 1 means it's running, 0 means it's not), and the file location.
Run:select * from...
March 9, 2009 at 12:12 pm
RBarryYoung (3/9/2009)
March 9, 2009 at 12:08 pm
Another way to sort of achieve this would be to leave them in the database, but put all the stuff you want separate from them into a filegroup other than...
March 9, 2009 at 12:06 pm
SQL 2005 keeps a default trace running, unless you've turned it off. That should have the data in that you're looking for.
March 9, 2009 at 12:03 pm
Grant Fritchey (3/9/2009)
All right! Lynn is turning into one of those old school saints who wades in & beats the snot out of the unbelievers.
That is too funny! Nearly...
March 9, 2009 at 12:01 pm
It's a common thing. It's because, with the hard-coded dates, the execution plan can take into account statistics, etc., that exist on that column. With variable dates, it...
March 9, 2009 at 11:38 am
After you remove the "(0)", does the second set of numbers always get parens around it? If so, then Steve's suggestion of using charindex/patindex to find the spaces around...
March 9, 2009 at 9:26 am
I think, if you downgrade the compatibility level of the database from 2008 to 2005 (100 to 90), detach the database from the 2008 server, copy the file over, and...
March 9, 2009 at 9:24 am
It looks like one of the connections has a 30-second timeout enforced on it, while the other doesn't. Per the screen shot, the one that worked took over a...
March 9, 2009 at 9:20 am
Depends on what you mean by "secure". Do they need to be encrypted? Does their transmission over the network need to be? Is the network you are...
March 9, 2009 at 9:17 am
Looks to me like you're just concatenating strings. You should be able to convert the values for ltv from numbers to strings and then concatenate them together. If...
March 9, 2009 at 9:15 am
Stored procedures and other code objects are, to my knowledge, always in the Primary filegroup.
Shouldn't you have a separate dev and test database (preferably one for each of those) where...
March 9, 2009 at 9:13 am
Try something like this:
declare @Phone varchar(100);
select @Phone = '+44 (0) 1908 123 456';
select stuff(stuff(replace(@Phone, '(0) ', ''), 5, 0, '('), 10, 0, ')');
March 9, 2009 at 9:11 am
Viewing 15 posts - 10,576 through 10,590 (of 14,953 total)