Viewing 15 posts - 976 through 990 (of 1,923 total)
Results from my machine (i am not sure of my desktop's age :w00t: , but i can tell its faster than urs :-P)
========== ColdCoffee ==========
SQL Server Execution Times:
...
February 8, 2011 at 9:50 pm
The location is here:

But i wonder if we can restrict access to system functions. Am so weak in Administration of SQL Server, so sorry, i cant help you!
February 8, 2011 at 9:27 pm
doug.milostic (2/8/2011)
Thanks Cold Coffee, your Sub Query method was the way I was leaning towards, just couldnt work out the syntax.Cheers.
You're welcome Doug!
February 8, 2011 at 7:36 pm
Lawrence, you can make use of REPLACE function to perform the operation, like this:
DECLARE @Table TABLE
(
Name VARCHAR(20)
)
INSERT INTO @Table (Name)
SELECT '123 Bib Fortuna' ...
February 8, 2011 at 7:30 pm
pankushmehta (2/8/2011)
EDIT: Similar solution provided by ColdCoffee just before me. Guess we were working on it at the same time 🙂
You bet 🙂 :w00t:
February 8, 2011 at 7:25 pm
I am assuming u are very baby SQL 🙂 developer (No pun intended) . This requirement is the basic concatenation of 2 columns.
DECLARE @Table TABLE
(
ID ...
February 8, 2011 at 7:20 pm
A good explanation of the problem, and though the sample data is not readily consumable, it was not tedious to make it readily-consumable.
Now the business:
I have build the sample data...
February 8, 2011 at 7:14 pm
mtassin (2/8/2011)
Jeff Moden (2/7/2011)
Wolfmeister (2/7/2011)
That's pretty slick! Thanks guys.Just making sure... do you understand how ColdCoffee's method works?
Heck I didn't understand what he was doing with the CTEs till...
February 8, 2011 at 6:45 pm
Wolfmeister (2/7/2011)
February 7, 2011 at 7:55 am
Jeff Moden (2/7/2011)
ColdCoffee (2/7/2011)
You're welcome,Mr.Wolf 😉Nicely done, CC.
Wow, accolades from the highest quarters 🙂 Thanks , Jeff. 🙂
February 7, 2011 at 7:54 am
You're welcome,Mr.Wolf 😉
February 7, 2011 at 4:50 am
How about this:
declare @string VARCHAR(100)
SET @string = '12345'
;WITH
TENS (N) AS (SELECT 0 UNION ALL SELECT 0 UNION ALL SELECT 0 UNION ALL
...
February 7, 2011 at 3:53 am
What does local time mean ? Wouldn't "local" refer to elsewhere ? whats your local ? Calculate the time difference between your local zone and Isreal Standard Time and use...
February 7, 2011 at 3:42 am
Try this:
select column1
from
( select '8343_1'
union all select '3327'
union all select '4362'
union all select '2155_2' ) tablename (column1)
where...
February 1, 2011 at 7:48 pm
Viewing 15 posts - 976 through 990 (of 1,923 total)