Viewing 15 posts - 12,481 through 12,495 (of 15,381 total)
Is there a question here? And why do you need a loop for this?
April 11, 2012 at 8:17 am
http://weblogs.sqlteam.com/jeffs/archive/2008/05/13/question-needed-not-answer.aspx
For details about posting ddl and sample data see the first link in my signature.
April 11, 2012 at 8:07 am
I have to agree that I don't get the Excel element. It seems like it is adding an extra to an already overly complicated process that just isn't needed. If...
April 11, 2012 at 8:05 am
That error pretty much says it all. The link server is unable to authenticate. There are a lot of things that could be causing this. If this worked in the...
April 11, 2012 at 7:44 am
bitbucket-25253 (4/10/2012)
CREATE TABLE #C(Num INT,Nam VARCHAR(5))
INSERT INTO #c
SELECT COUNT(Cola),'Cola' FROM #Nepal WHERE UNICODE(Cola) > 127 UNION ALL
SELECT...
April 10, 2012 at 12:09 pm
Building off the previously posted data.
create table #Nepal ( cola nvarchar(10),colb nvarchar(10), colc nchar(10), cold nvarchar(10))
insert into #Nepal
select N'????',N'AAA',N'ZZZ',N'PPP' union all
select N'???????',N'AAA',N'?????',N'PPP' union all
select N'TTT',N'BBB',N'DDD',N'????????'
select *
from #Nepal
I think something...
April 10, 2012 at 11:54 am
Of course I have no issue with asking basic questions.
I just tend to get annoyed at the same question over and over. Each time people all saying the same...
April 10, 2012 at 11:00 am
Murphy'sLaw (4/10/2012)
Sean Lange (4/10/2012)
April 10, 2012 at 10:58 am
Lynn Pettis (4/10/2012)
Sean Lange (4/10/2012)
April 10, 2012 at 10:47 am
Please stop posting the same questions over and over. These are all very basic questions and they continue to have the appearance of either homework or interview questions.
April 10, 2012 at 10:36 am
Just need to add another case statement to make it work...not that this would be the preferred way given so many other solutions though.
create table #Address
(
id int,
addr1 varchar(25),
addr2 varchar(25),
addr3 varchar(25)
)
insert...
April 10, 2012 at 9:48 am
Yes Mike you are correct. The version that ColdCoffee posted just after mine is almost the same thing as the one I posted. It has the same issue too.
DECLARE @Example
TABLE...
April 10, 2012 at 9:44 am
And yet another way to skin this cat...
create table #Address
(
id int,
addr1 varchar(25),
addr2 varchar(25),
addr3 varchar(25)
)
insert #Address
select 1, '123', NULL, 'Main St.'
union all select 2, NULL, NULL, NULL
union all select 3, NULL,...
April 10, 2012 at 9:24 am
Viewing 15 posts - 12,481 through 12,495 (of 15,381 total)