Viewing 15 posts - 2,341 through 2,355 (of 5,590 total)
jguerra2 (11/22/2010)
Thanks for the code. I will try it...
November 22, 2010 at 10:36 am
Stefan Krzywicki (11/22/2010)
Brandie Tarvin (11/22/2010)
Chris Morris-439714 (11/22/2010)
CirquedeSQLeil (11/22/2010)
Chris Morris-439714 (11/22/2010)
Wishing Jack C a speedy recovery and some quality time for recuperation.Get well soon, mate.
Did I miss something more than the...
November 22, 2010 at 10:28 am
Chris Morris-439714 (11/22/2010)
CirquedeSQLeil (11/22/2010)
Chris Morris-439714 (11/22/2010)
Wishing Jack C a speedy recovery and some quality time for recuperation.Get well soon, mate.
Did I miss something more than the burnout?
Our DBA caught some...
November 22, 2010 at 10:27 am
Basically, you're going to pivot this data. Read the two cross-tab/pivot tables articles in my signature.
I think that this will do it:
;WITH CTE AS
(
SELECT dbo.poitem.fpartno AS Part,
...
November 22, 2010 at 10:21 am
Try this:
if object_id('tempdb..#table1') IS NOT NULL DROP TABLE #table1;
if object_id('tempdb..#table2') IS NOT NULL DROP TABLE #table2;
if object_id('tempdb..#table3') IS NOT NULL DROP TABLE #table3;
create table #table1 (col1 int,col2 varchar(30));
insert into #table1...
November 22, 2010 at 10:10 am
The only thing I'm seeing is the way that you populate your @splitTimes table variable. I'd change it to a set-based method:
-- See Jeff Moden's article
-- The "Numbers" or...
November 22, 2010 at 9:48 am
It might be worth using temp tables.
CREATE TABLE #tmpAuthors (AuthorUserID int PRIMARY KEY CLUSTERED);
IF @author_id = 0
INSERT INTO #tmpAuthors
SELECT AuthorUserID
FROM tblAuthors
WHERE Active = 0
ELSE
INSERT...
November 22, 2010 at 9:29 am
Shamshad Ali (11/22/2010)
?link=ProductsAndServices?src=NLVANOV10_lid={5F86099C-AFDD-DF11-80B8-001CC023728E}&stid=1&ptu=1
?src=NLVANOV10_lid={5F86099C-AFDD-DF11-80B8-001CC023728E}&stid=1&ptu=1
Should check both & and _lid...
November 22, 2010 at 9:12 am
Okay, do you want this:
<ichicsr lang="en">
<ichicsrmessageheader>
<messagetype>ichicsr</messagetype>
<messageformatversion>2.1</messageformatversion>
<messageformatrelease>2.0</messageformatrelease>
<messagenumb>prd_88</messagenumb>
<messagesenderidentifier>A</messagesenderidentifier>
...
November 22, 2010 at 9:08 am
Alvin Ramard (11/22/2010)
Dave Ballantyne (11/22/2010)
Well , that was easyhttp://www.sqlservercentral.com/Forums/Topic1024259-338-1.aspx
Can't think what's the right thing to say here. All I can do is shake my head.
It boggles the...
November 22, 2010 at 9:01 am
Alvin Ramard (11/22/2010)
WoW!!!You're a genius Dave!!
Who else would have thought of doing that??? 😀
LOL! (avatar applies here...)
November 22, 2010 at 8:59 am
BTW, the best way to check for the existance of a temporary table in your current session is:
IF OBJECT_ID('tempdb..#YourTempTable') IS NOT NULL
Note that in SQL Server thru version 2008R2, temp...
November 22, 2010 at 6:13 am
The results of your query give:
<ichicsr lang="en">
<ichicsrmessageheader>
<messagetype>ichicsr</messagetype>
<messageformatversion>2.1</messageformatversion>
<messageformatrelease>2.0</messageformatrelease>
<messagenumb>prd_88</messagenumb>
<messagesenderidentifier>A</messagesenderidentifier>
...
November 21, 2010 at 8:40 pm
Stefan Krzywicki (11/21/2010)
GilaMonster (11/21/2010)
bitbucket-25253 (11/20/2010)
I've got a GREAT GRAND DAUGHTER born on April 2nd, 2010. As Jeff Moden...
November 21, 2010 at 8:58 am
No problem - always glad to help. I've noticed your absence, and didn't know when you might be back. Haven't heard from the OP, so maybe it wasn't quite as...
November 20, 2010 at 4:21 pm
Viewing 15 posts - 2,341 through 2,355 (of 5,590 total)