Viewing 15 posts - 1,216 through 1,230 (of 2,007 total)
Can someone take over from me here please? I've had enough of trying to draw blood from a stone, maybe I'm phrasing things incorrectly?
December 6, 2011 at 7:21 am
MSBI Learner (12/6/2011)
Yeah, I have sent... hope that helps you to work on my issue.Please let me know if you need any more information on the same.
As I've said repeatedly,...
December 6, 2011 at 7:19 am
MSBI Learner (12/6/2011)
Thank you, I have sent the script of my SPROC.
One more try 😉
Sorry, but without DDL, sample data and expected results there isn't much I can do. ...
December 6, 2011 at 6:42 am
I'm going to re-iterate what I said before. . .
CURSORS and WHILE LOOPS are both generally bad, if you're tuning your query then maybe you should look at a more...
December 6, 2011 at 6:13 am
ckri (12/6/2011)
but I'm not sure ....
it seems to display the wrong row in example .... the row with 21...
December 6, 2011 at 6:06 am
MSBI Learner (12/6/2011)
December 6, 2011 at 6:03 am
CURSORS and WHILE LOOPS are both generally bad, if you're tuning your query then maybe you should look at a more set-based approach?
If you provide readily consumable sample data, DDL...
December 6, 2011 at 5:54 am
Fairly trivial.
BEGIN TRAN
--First, lets create some sample data
SELECT MSLINK, RAPP, LASTDATE, FILMNAME, OBS, ID
INTO #tvrapp_SampleData
FROM (SELECT 102141, '1279', '1995-02-02 00:00:00.000', '440-CA0010R-CA0020R.mpg', 22, 14422
UNION ALL...
December 6, 2011 at 3:33 am
Enjoyed that one, would've been even better on a Monday morning to get the juices flowing! 😀
Flabbergasted that so many people are getting it incorrect. . . I assumed that...
December 6, 2011 at 2:47 am
spin (12/5/2011)
i've created a table locally from a linked server view. When try to do a select * from .... i get
An error occurred while executing batch.
Error message...
December 5, 2011 at 9:36 am
Guess based on Gianluca's interpretation of your data: -
SELECT pvtData.DESCRION AS Team, pvtData.[Primary], pvtData.[Secondary],
pvtData.[Tertiary], pvtData.[Other]
FROM (SELECT DESCRION, CASE WHEN MBR_SEQ_NUM = 1
...
December 5, 2011 at 7:00 am
GSquared (12/1/2011)
December 1, 2011 at 10:02 am
This might help.
Without sample data and DDL it's the best I can offer.
SELECT ID, name, content, previous_id
INTO #yourTable
FROM (SELECT 1, 'doc1.doc', 'abc', -1
UNION ALL...
December 1, 2011 at 9:52 am
Kwisatz78 (12/1/2011)
Can anyone tell me what the 0 does in the following:
SELECT DATEDIFF(m, 0, '01/01/2011');
Does it indicate the start of time as far as SQL goes and if so what...
December 1, 2011 at 9:25 am
DECLARE @SQL AS VARCHAR(MAX)
SELECT @SQL = COALESCE(@SQL+ + CHAR(13), '') + 'EXEC msdb..sp_update_job @job_name = ''' + name + ''', @enabled = 0;' FROM msdb.dbo.sysjobs
EXEC (@SQL)
I'd do what G-Squared suggested...
December 1, 2011 at 9:01 am
Viewing 15 posts - 1,216 through 1,230 (of 2,007 total)