Viewing 15 posts - 3,406 through 3,420 (of 7,191 total)
Usually, just counting the rows will give you a feel for whether the table is small. If you look at the table properties in SSMS and go to the...
August 26, 2014 at 7:48 am
What size are the tables that are still red? You don't really need to worry too much about fragmentation on small tables - let's say 1000 pages or less.
John
August 26, 2014 at 7:42 am
rocky_498 (8/20/2014)
I am not seeing LEFT STRING FUNCTION in derived column. Please advise.
Try using SUBSTRING. There is a good resource here.
John
August 20, 2014 at 9:11 am
Eirikur
Good points there. Hence, my new improved version 2. I've padded out TimeDecimal with another two zeros (that deals with the small numbers), then converted to time and...
August 20, 2014 at 8:58 am
Raghavendra Mudugal (8/19/2014)
August 20, 2014 at 2:35 am
Steve
Yes, I was being facetious about F5! But if it's the number of rows you're worried about, it's very easy to modify my test harness. I'm sure the...
August 19, 2014 at 10:01 am
sgmunson (8/19/2014)
August 19, 2014 at 9:44 am
Eirikur Eiriksson (8/19/2014)
Quick suggestion, skip the string manipulation, use math and then format to taste.😎
Normally, I'd agree you. On this occasion, however, the string manipulation appears to beat the...
August 19, 2014 at 8:45 am
Cast as char(4), put a colon in the middle, then cast as time.
John
August 19, 2014 at 5:12 am
Chandan
It's not entirely clear what your requirement is, but if I understand correctly, I think the simplest solution is to use a CTE or add a computed column to your...
August 19, 2014 at 4:50 am
TomThomson (8/18/2014)
August 19, 2014 at 2:43 am
I recommend you investigate the reasons behind your performance issue before implementing this workaround. If you must do it, you can control the cluster from a command line -...
August 18, 2014 at 9:18 am
The important message appears to be "The device is not connected". What is your T drive - a local drive, a SAN drive, a drive with mount points, removable...
August 18, 2014 at 9:14 am
Look at the properties of the connection manager DestinationSCODatabase. What is the name of the server? What authentication mode does it use? If it uses Windows authentication,...
August 18, 2014 at 8:52 am
Prabhu
You haven't really given us enough information to help you properly. But what I would try is to list the columns in your SELECT statement instead of doing SELECT *,...
August 18, 2014 at 5:55 am
Viewing 15 posts - 3,406 through 3,420 (of 7,191 total)