Viewing 15 posts - 151 through 165 (of 1,252 total)
Light-weight is the key word there .
September 21, 2009 at 1:01 am
Its better not to script the LEN part . It is there in case the length of the bookid varies. The length of bookid could be less than or greater...
September 21, 2009 at 12:58 am
What about using a subquery. I have'nt given the full query and this is just a guess...
SELECT SELECT Documents.DocID,
Documents.Category,
...
September 21, 2009 at 12:54 am
I can see a QOTD dated Dec 3 2009 on my list. It has happened before.
September 21, 2009 at 12:43 am
PaulB-TheOneAndOnly (9/9/2009)
The key is to keep core structure in 3NF and be prepared to allow some degree of de-normalization in reporting delivery tables.
I agree.
September 18, 2009 at 3:12 am
2 important things to take note of before deciding on your approach.
1) Whats the volume of data and what happens when the data grows large.
2) How do you propose to...
September 18, 2009 at 3:06 am
select @@identity returns last inserted value of the current session. I think your prepared statement is run in one session and the select @@identity in another.
September 17, 2009 at 4:05 am
I think that you dont need "dayofweek" column. StarTDatetime and EndDateTime should be enough. You can get the day(s) of the week from these dates.
Dayofweek column is in...
September 17, 2009 at 3:41 am
one more way using cross join
select c2.countryname, c.countryname from country c
cross join country c2
where c.groupid= c2.groupid and c.country c2.country
order by c.groupid
September 17, 2009 at 3:32 am
Run dbcc checktable on the table to see if there is any corruption with the table. If its a production environment run the command when there is very little load...
September 16, 2009 at 12:10 am
and why using dynamic sql to do a maintenance task. Also why are you shrinking the log file. Are you taking any log backups.
September 14, 2009 at 11:57 pm
Whats the error that you are getting.
I tried a small procedure and found that USE Database does not change the execution context to that database specified in the USE Database....
September 14, 2009 at 11:44 pm
Viewing 15 posts - 151 through 165 (of 1,252 total)