Viewing 15 posts - 166 through 180 (of 3,957 total)
Using Alan.B's table variable and sample data:
WITH orders AS -- add a rownumber to @orders
(
SELECT rn1=rn, rn2=rn+1, cust_id, order_date
FROM
...
April 7, 2015 at 6:56 pm
Walton (4/7/2015)
I have one stored procedure being called by the job that runs everyday. It generally takes 2-3 minutes to run. But sometime, for some reason it hangs at...
April 7, 2015 at 6:15 pm
This article is rather complicated but it is the only place that immediately comes to mind to show you how to do this. At least I'm pretty sure it...
April 7, 2015 at 5:56 pm
Jim-S (4/7/2015)
Alan, LowellThank you both for your answers, they both work and give me exactly what I am looking for.
Appreciate the help.
Jim
Are you aware of what the difference in the...
April 7, 2015 at 5:52 pm
I just posted this to "The Worst Comments" discussion thread:
dwain.c (4/7/2015)
-- Some nitwit posting under the moniker of Dwain.C with a big fish for an avatar
-- gave me this code...
April 7, 2015 at 5:49 pm
abatej (4/7/2015)
On the whole with SQL Server I've found that most behaviour of this ilk comes down to Microsoft, to their credit, handing us a DB engine and expecting us...
April 7, 2015 at 5:44 pm
-- Some nitwit posting under the moniker of Dwain.C with a big fish for an avatar
-- gave me this code on a SQL forum.
-- Call him if it doesn't work.
Now...
April 7, 2015 at 5:40 pm
djblyth (4/7/2015)
If you're...
April 7, 2015 at 2:28 am
Sioban Krzywicki (4/3/2015)
Brandie Tarvin (4/3/2015)
djj (4/3/2015)
Sioban Krzywicki (4/3/2015)
Koen Verbeeck (4/3/2015)
Sioban Krzywicki (4/3/2015)
Koen Verbeeck (4/3/2015)
Eirikur Eiriksson (4/3/2015)
Koen Verbeeck (4/3/2015)
It's Friday and I'm grumpy...http://www.sqlservercentral.com/Forums/Topic1674050-3412-1.aspx
Are you grumpy because you are working on the...
April 6, 2015 at 6:05 pm
Brandie Tarvin (4/3/2015)
djj (4/3/2015)
Sioban Krzywicki (4/3/2015)
Koen Verbeeck (4/3/2015)
Sioban Krzywicki (4/3/2015)
Koen Verbeeck (4/3/2015)
Eirikur Eiriksson (4/3/2015)
Koen Verbeeck (4/3/2015)
It's Friday and I'm grumpy...http://www.sqlservercentral.com/Forums/Topic1674050-3412-1.aspx
Are you grumpy because you are working on the Good Friday...
April 6, 2015 at 6:03 pm
SQLRNNR (4/1/2015)
Who remembered to do an April Fools post today?
Does An Easter SQL[/url] posted on or around April Fools day count?
April 6, 2015 at 5:58 pm
CELKO (4/2/2015)
Tell me you remember the blue-covered book by Gary Deward Brown (known to be the bible of OS/JCL).
how about the McCracken books? His A Guide to Fortran Programming ,...
April 6, 2015 at 5:56 pm
Jody-317850 (4/6/2015)
Good article! You mention using the TRY/CATCH construct to try to prevent this behavior. I would be interested in seeing an example of this. Thanks!
I cover...
April 6, 2015 at 5:52 pm
Create table #t3 (id int, country varchar(max))
INSERT #t3 SELECT 1,' AU-Australia
MM-Myanmar
NZ-New Zealand
PG-Papua New Guinea
PH-Philippines'
SELECT id, Item
FROM #t3 a
CROSS APPLY dbo.DelimitedSplit8K(country, CHAR(10)) b;
GO
DROP TABLE #t3;
April 1, 2015 at 3:43 am
pietlinden (3/31/2015)
March 31, 2015 at 7:53 pm
Viewing 15 posts - 166 through 180 (of 3,957 total)