Viewing 15 posts - 8,116 through 8,130 (of 13,460 total)
altering a table...adding/removing columns,creating or altering procs views, etc etc requires ddl_admin permissions.
February 11, 2011 at 1:31 pm
in this specific example, i cannot get it to raise the error, but I've encountered other situations where i must issue the GO command after an ALTER TABLE command before...
February 11, 2011 at 1:25 pm
your example's messing you up... a row of data is just that: each element is related to the others. grabbing a value from another row? why?
if you substitute names for...
February 11, 2011 at 9:24 am
At one place I interviewed at, I had a good preliminary interview with a couple of people, one a manager, and the other an HR-type, but it was all high...
February 11, 2011 at 7:02 am
a quick google lead me to this solution posted from Dalton from http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=70901
declare @myString varchar(255)
select @myString = 'BarCode 1'
-- Define the string of characters that we'll need to pull the...
February 11, 2011 at 6:12 am
I'm in the same camp of not worrying about the trace impact after this article about the near-zero impact of a server side trace where someone actually compared the...
February 11, 2011 at 5:11 am
the integer division, 5,2 is evaluated before the round occurs.
if you divide two integers in SQL, the result is returned in the same datatype...an integer.
That behavior is kind of unique...
February 10, 2011 at 6:29 pm
I know if you right click the diagram in 2005 and above, there is a "Copy To Clipboard" option, but it copies as an image/bitmap, so you can paste it...
February 10, 2011 at 3:25 pm
those "ISO-11179 rules" aren't rules, they are guide lines, or at least an attempt at best practices; calling them anything other than is misleading.
no DBMS system anywhere prevents you from...
February 10, 2011 at 3:07 pm
the trick here is to the the SUM of a CASE which tests the columns you are after;
take a look at my example below;
based on your post, something like this...
February 10, 2011 at 1:59 pm
here's something i put together a long time ago; this requires one tablescan for the EXISTS() of every table that has a char/varchar/nchar/nvarchar column in it's definition...
so if you have...
February 10, 2011 at 1:51 pm
standard answer...it depends: experience is based on challenges and problems you learn to overcome, right? it depends ont he work environment.
if you write reports, you could expect your...
February 10, 2011 at 11:36 am
what have you tried so far?
SQL supports the TOP command, ie
--last 90 days of data
SELECT TOP 50 ColumnList From MyLogTable Where SomeDate > dateadd(dd,-90,getdate())
February 10, 2011 at 11:18 am
i got thru turning your post into consumable data, and ran out of gas....
if the data was already in consumable format, i probably would have worked on a solution instead.
here's...
February 10, 2011 at 11:13 am
No we are on the same page.
a mailmerge substitutes [Fieldname] in the word document with whatever value is coming from the database. but in many cases, you wan thte value...
February 10, 2011 at 8:15 am
Viewing 15 posts - 8,116 through 8,130 (of 13,460 total)