Viewing 15 posts - 946 through 960 (of 2,007 total)
Second time today I've recommended Gail's blog, I should be on commission!
Anyway, try this blog post[/url] which explains the issue you're experiencing.
February 7, 2012 at 3:50 am
Loads of ways to do this.
Here's two.
BEGIN TRAN
CREATE TABLE #user (u_id INT, NAME VARCHAR(10));
INSERT INTO #user VALUES (1, 'steven');
INSERT INTO #user VALUES (2, 'david');
CREATE TABLE #work (w_id INT, userid INT,...
February 7, 2012 at 3:29 am
crazy4sql (2/7/2012)
February 7, 2012 at 3:22 am
hervouet (2/7/2012)
select *
from dbo.ASPStateTempSessions...
February 7, 2012 at 2:30 am
a20213 (2/6/2012)
Still, i did
update #tgroups set alunos_ids = replace(alunos_ids, ' ','')
and my previous query worked well, so i think i have to make...
February 6, 2012 at 9:02 am
Grant Fritchey (2/6/2012)
Go easy on him. He's trying. Gentle guidance, not all up in his grill.
Tried polite and unpolite impolite comments directed at him, neither received a reply so I'm...
February 6, 2012 at 8:23 am
Jeff Moden (2/6/2012)
February 6, 2012 at 8:16 am
a20213 (2/6/2012)
Done, as requested.
Perfect, thanks very much 😀
Does this help?
BEGIN TRAN
CREATE TABLE #temp
(
ID int IDENTITY(1,1)PRIMARY KEY CLUSTERED,
alunos_id bigint
...
February 6, 2012 at 8:04 am
HowardW (2/6/2012)
February 6, 2012 at 7:47 am
Koen Verbeeck (2/6/2012)
http://www.sqlservercentral.com/Forums/Topic1246473-391-1.aspx?Update=1
Now he is just copy pasting MSDN articles into the topics. :rolleyes:
At least it had something to do...
February 6, 2012 at 7:25 am
SELECT STUFF(CAST((SELECT '/' + [BudgetCode]
FROM [BudgetCode], [Employee]
...
February 6, 2012 at 6:36 am
Let's not use a cursor when we can avoid it 😀
--Method 1
SELECT NAME, COALESCE(STUFF((SELECT ', ' + roleName
...
February 6, 2012 at 5:57 am
Hello and welcome to SSC!
I'd like to be able to help, but it seems you've forgot to post readily consumable sample data and ddl scripts.
February 6, 2012 at 5:43 am
I've had a go, but my suggestion is that you read Jeff's article on running totals with the quirky update method[/url].
BEGIN TRANSACTION
--Not part of the solution, this is used to...
February 6, 2012 at 5:37 am
Narud (2/3/2012)
To do this without joins, you can use this deprecated, but still useful sintaxis:
SELECT a.*, b.*FROM Table1 a, Table2 b
Best regards!
Oh for the love of. . .
1) That is...
February 3, 2012 at 10:59 am
Viewing 15 posts - 946 through 960 (of 2,007 total)