Quantcast
Channel: Latest Questions by Doiremik
Browsing all 12 articles
Browse latest View live

backup and delete data from SQL 2008

hi all,this sounds simple buy I cant seem to get a good steer on it. I have a database and some of the child tables might have around 1 million records added to it in a week. After about 2 or 3 days...

View Article



Select or Insert from table dynamically

Hi there, I have a store proc that takes in an ID and depending on the ID it will select from the approperiate table. There is say 6 tables, all with the same data columns but broke out like this for...

View Article

variable replacement using sp_executesql

Hi there, I'm on MS SQL 2008 and thought I had the hang of using sp_executesql as I have used it successful with other queries using the params as search conditions in the where clauses. So now I,ve...

View Article

DATETIME millisecs cannot be relied on

Hi there, ok so i thought that when I stored these dates I would get them back as they where in the database... So for example if you run these and look at the results. The same happens on an insert. I...

View Article

Point of update when using case in an Update statement

hi there, I have cut this down to keep it simple but here goes... I have a table with 4 columns - OrderID, InitialOrderAmount, RemainingOrderAmount, CompletedDate Rule is when the remaining order...

View Article


Best practice for Table Historys and pin pointing data at a point in time

Hi there, I,ve been doing history tables for some time now in databases but never put to much effort or thought into it. I wonder what is the best practice out there. my main goal is to record any...

View Article

backup and delete data from SQL 2008

hi all,this sounds simple buy I cant seem to get a good steer on it. I have a database and some of the child tables might have around 1 million records added to it in a week. After about 2 or 3 days...

View Article

Select or Insert from table dynamically

Hi there, I have a store proc that takes in an ID and depending on the ID it will select from the approperiate table. There is say 6 tables, all with the same data columns but broke out like this for...

View Article


variable replacement using sp_executesql

Hi there, I'm on MS SQL 2008 and thought I had the hang of using sp_executesql as I have used it successful with other queries using the params as search conditions in the where clauses. So now I,ve...

View Article


DATETIME millisecs cannot be relied on

Hi there, ok so i thought that when I stored these dates I would get them back as they where in the database... So for example if you run these and look at the results. The same happens on an insert. I...

View Article

Point of update when using case in an Update statement

hi there, I have cut this down to keep it simple but here goes... I have a table with 4 columns - OrderID, InitialOrderAmount, RemainingOrderAmount, CompletedDate Rule is when the remaining order...

View Article

Best practice for Table Historys and pin pointing data at a point in time

Hi there, I,ve been doing history tables for some time now in databases but never put to much effort or thought into it. I wonder what is the best practice out there. my main goal is to record any...

View Article
Browsing all 12 articles
Browse latest View live




Latest Images