Viewing 15 posts - 7,021 through 7,035 (of 10,144 total)
Hi Dom
I did a lot of Crystal reports from 3 to 2 years ago. Stored procedures were far away the best data source then, but I can't even remember the...
November 18, 2010 at 7:54 am
Dom Horton (11/18/2010)
Can anyone point me in the right direction? I'm after a 'self contained' select statement that will simply return a list of the last 30 days. It cannot...
November 18, 2010 at 7:22 am
SELECT Fridays = DATEADD(yy, DATEDIFF(yy, 0, GETDATE()), n.num)
FROM (SELECT TOP 366 num = ROW_NUMBER() OVER(ORDER BY a.NAME)-1 FROM dbo.syscolumns a, dbo.syscolumns b) n
WHERE DATENAME(weekday, DATEADD(yy, DATEDIFF(yy, 0, GETDATE()), n.num)) =...
November 18, 2010 at 3:09 am
Jack Corbett (11/17/2010)
November 18, 2010 at 2:17 am
jcrawf02 (11/17/2010)
Stefan Krzywicki (11/17/2010)
Brandie Tarvin (11/17/2010)
Stefan Krzywicki (11/17/2010)
November 17, 2010 at 10:19 am
DROP TABLE #Employee
CREATE TABLE #Employee (ID INT, Name VARCHAR(10), Age INT, Country CHAR(2), Manager VARCHAR(10), Status CHAR(1));
INSERT INTO #Employee (ID, Name, Age, Country, Manager, Status)
SELECT 1,'Ravi',29,'IN','Anil','A' UNION ALL
SELECT 2,'Balaji',30,'IN','Siju','A' UNION...
November 17, 2010 at 5:26 am
jcrawf02 (11/16/2010)
Chris Morris-439714 (11/16/2010)
No idea, Wayne.That really freaked me out, it came straight to my work inbox from SSC.
"One Help,Can i have ur mail iD"
I don't think so.
At the...
November 17, 2010 at 2:28 am
Try running the batches between the GO statements individually. It worked for me, using the same script which you've just posted. Running the whole script raised a single error.
November 17, 2010 at 2:26 am
WayneS (11/16/2010)
Chris Morris-439714 (11/16/2010)
Thanks guys. I'll leave him be, he's had enough prompting.Think he'll PM you again for more help?
No idea, Wayne.
That really freaked me out, it came straight...
November 16, 2010 at 10:13 am
Richard Warr (11/16/2010)
WayneS (11/11/2010)
GilaMonster (11/11/2010)
WayneS (11/11/2010)
November 16, 2010 at 9:52 am
Paul White NZ (11/16/2010)
...whatever application was taking me too literally...
Is that all we are to you Paul? Wow!
November 16, 2010 at 9:36 am
Paul White NZ (11/16/2010)
Chris Morris-439714 (11/16/2010)
Bored, Paul? :hehe:
Stuck on another problem, rather than bored exactly...but it comes to the same thing.
I even copy-and-pasted that guy's sample data into a text...
November 16, 2010 at 9:27 am
Paul White NZ (11/16/2010)
Greg Edwards-268690 (11/16/2010)
Paul White NZ (11/16/2010)
Chris Morris-439714 (11/16/2010)
Only on tuesday afternoons.
Hah! No, seriously then, I would have given up on that thread a good while ago....
November 16, 2010 at 9:12 am
Thanks guys. I'll leave him be, he's had enough prompting.
November 16, 2010 at 9:11 am
Viewing 15 posts - 7,021 through 7,035 (of 10,144 total)