Viewing 15 posts - 10,276 through 10,290 (of 13,469 total)
something like this might get you started.
for any given week, this returns the starting date of monday(@12am, the start of friday, and the last possible datetime of friday.
from there, you...
December 5, 2009 at 1:51 pm
as others have pointed out, without a WHERE clause, you are updating every row.
here's an example, which uses the output clause, so you can see how to use it:
Create Table...
December 4, 2009 at 10:08 am
developer version is only a fifty dollar investment.
December 4, 2009 at 5:35 am
xp_cmdshell is the method that opens the door to operating system commands ; once granted you have access to do just about everything.
what you should do is create a...
December 4, 2009 at 5:33 am
that's easy.
there is no way to ENFORCE a relationship between two databases; Foreign keys,constraints,etc can only exist within a database. if you cannot use the built in fuinctionality of...
December 3, 2009 at 7:36 am
here you go: i had this saved in my SQL2000 snippets.
it produces results like this:
TableName IndexName ...
December 3, 2009 at 6:39 am
no; you can change the color of the text in the textbox, but not format PART of it's value, as far as i know.
you could put bold text before...
December 2, 2009 at 1:18 pm
you can select the results of any calculation as a column in your query.
SELECT
COLUMNA ,
Modifier,
(COLUMNA * Modifier) As Result
from MyTable
December 2, 2009 at 10:57 am
this is just a guess, where i'm trying to reduce the rows in the join by using a sub select;
does this produce results that are close to what you want?
SELECT...
December 2, 2009 at 9:40 am
well, if there was only one in the "p" table for shift 3, the issue is your joins are bringing in 4 more rows, right? i would guess the other...
December 2, 2009 at 7:49 am
well the SQL looks right, so it's gotta be the data not meeting your expectations.
i would expect the SQL below to show you that there really is 4 items in...
December 2, 2009 at 7:06 am
i believe by single developer, it is single installation. they do not want you to buy one copy and install it on 20 developers machines. 20 installations would require 20...
December 2, 2009 at 5:17 am
if your table t1 already has those values, you should be able to use the integer modulus to determine/select only those values that are perfectly divisible by 100; then do...
December 2, 2009 at 5:06 am
easily bob;
if the table exists, or if you create a staging table, there's no porblem; you want to use BULK INSERT command to do it. your example seemed to be...
November 30, 2009 at 9:31 am
when you run the profiler, does the spid in the loop change, or is it incrementing?
if it was incrementing, that would imply to me that it is getting new connections.
if...
November 30, 2009 at 9:23 am
Viewing 15 posts - 10,276 through 10,290 (of 13,469 total)