Viewing 15 posts - 316 through 330 (of 2,469 total)
For starters, get your close paren from the end of the expression to the end of the cast function...
SELECT SUBSTRING(CAST(date AS NVARCHAR(11)), 1, 10)
..and then explain (as pam asked) the...
April 19, 2006 at 10:40 am
right - just to clarify - sql server creates a table called "Deleted" that temporarily stores the deleted row(s)...so that's the one one you need to select from...
April 19, 2006 at 9:55 am
I cannot believe you started just a couple of years ago...If I had even a tenth of your talent I'd quit my job and waste no time in making this...
April 19, 2006 at 8:14 am
Yes - the limit in EM is 1024..but no one really uses EM for data modifications..
April 19, 2006 at 7:56 am
- you're right...it's only a matter of ratio these days...instead of 6 of one and half a dozen of the other..you could...
April 19, 2006 at 7:44 am
could you please provide some more info ?!
1) does it happen at the same times/days each month ?! is there a pattern ?!
2) any triggers on the table ?! or...
April 19, 2006 at 7:19 am
Concur! If anything, I have only seen the "excessive pride" where people turn into prickly pears (have been guilty of that myself at times.....
April 19, 2006 at 7:15 am
Sorry to ask this but..
if you print your @Assignbuyer you do see a value other than 1 ?!?!
also...your assignment to @SI should be corrected to:
SET ......, @SI = specialInstructions...
April 19, 2006 at 6:52 am
splly. DATENAME..
SELECT DATENAME(mm, getdate()) AS Month, DATENAME(yyyy, getdate()) AS Year
April 18, 2006 at 1:45 pm
hey..hey..go easy...I, for one, belong to the "developer" world and wouldn't trade places with a dba...
April 18, 2006 at 11:38 am
Here's the (much read) link that'll unravel the mysteries of dynamic sql for you..
April 18, 2006 at 11:36 am
Right...here's how you would do this:
Set @rowlimit = 10 exec('select top ' + @rowlimit + ' col1, col2 from myTable where...')
April 18, 2006 at 11:25 am
You could do something like this...
Set Rowcount @rowlimit select col1, col2 from myTable where...
April 18, 2006 at 11:07 am
...Great catch!...not so hush-hush after all...stopped believing in coincidences many years ago..
April 18, 2006 at 10:40 am
Viewing 15 posts - 316 through 330 (of 2,469 total)