Click here to Skip to main content
16,005,091 members
Home / Discussions / Database
   

Database

 
QuestionRemote data access Pin
kalyanchakravarthi8-Nov-06 22:27
kalyanchakravarthi8-Nov-06 22:27 
Questionlook ahead in SQL Server Reporting Services Pin
dove118-Nov-06 13:55
dove118-Nov-06 13:55 
QuestionAccess and comparing dates Pin
eggsovereasy8-Nov-06 11:18
eggsovereasy8-Nov-06 11:18 
AnswerRe: Access and comparing dates Pin
indianet8-Nov-06 11:37
indianet8-Nov-06 11:37 
GeneralRe: Access and comparing dates Pin
eggsovereasy9-Nov-06 3:26
eggsovereasy9-Nov-06 3:26 
GeneralRe: Access and comparing dates [modified] Pin
indianet9-Nov-06 7:06
indianet9-Nov-06 7:06 
QuestionDetecting if a database as been updated Pin
steve_rm8-Nov-06 5:24
steve_rm8-Nov-06 5:24 
AnswerRe: Detecting if a database as been updated Pin
Colin Angus Mackay8-Nov-06 6:14
Colin Angus Mackay8-Nov-06 6:14 
steve_rm wrote:
Is there any method that I could use to detect if the database is current or not.


That really depends on your idea of "current".

Before each ALTER statement I'd have an
IF NOT EXISTS(SELECT * FROM INFORMATION_SCHEMA.COLUMNS 
              WHERE TABLE_NAME = 'MyTableName'
              AND COLUMN_NAME = 'ColumnName')
BEGIN
    -- Add the column we checked for
    ALTER TABLE ....
END


(The above code is for SQL Server 2000, there will be a similar equivalent in SQL Server 2005, but I don't know what it is)

You may also like to take a copy of your live database and practice your scripts on the copy first.


QuestionPerformance problems, when using ADO in threads Pin
pma8-Nov-06 5:06
pma8-Nov-06 5:06 
Questiontrigger when updation occur Pin
Vipin.d8-Nov-06 3:17
Vipin.d8-Nov-06 3:17 
AnswerRe: trigger when updation occur Pin
Eric Dahlvang8-Nov-06 6:56
Eric Dahlvang8-Nov-06 6:56 
GeneralRe: trigger when updation occur Pin
Vipin.d8-Nov-06 17:13
Vipin.d8-Nov-06 17:13 
GeneralRe: trigger when updation occur Pin
Eric Dahlvang9-Nov-06 3:02
Eric Dahlvang9-Nov-06 3:02 
QuestionCSV import problem with Money data-type Pin
hasanali008-Nov-06 0:37
hasanali008-Nov-06 0:37 
AnswerRe: CSV import problem with Money data-type Pin
Colin Angus Mackay8-Nov-06 6:05
Colin Angus Mackay8-Nov-06 6:05 
QuestionHow to insert jpeg file into sql server 2000 And how to retrieve to .net form Pin
Parameswar Mal8-Nov-06 0:21
Parameswar Mal8-Nov-06 0:21 
AnswerRe: How to insert jpeg file into sql server 2000 And how to retrieve to .net form Pin
Colin Angus Mackay8-Nov-06 6:02
Colin Angus Mackay8-Nov-06 6:02 
QuestionTrigger Problem in sql server 2000 Pin
monika_vasvani7-Nov-06 20:12
monika_vasvani7-Nov-06 20:12 
AnswerRe: Trigger Problem in sql server 2000 Pin
Mairaaj Khan7-Nov-06 20:36
professionalMairaaj Khan7-Nov-06 20:36 
AnswerRe: Trigger Problem in sql server 2000 Pin
PavanPareta7-Nov-06 22:17
PavanPareta7-Nov-06 22:17 
QuestionSearch creteria based on multiple columns Pin
Ravi Shankar437-Nov-06 20:02
Ravi Shankar437-Nov-06 20:02 
AnswerRe: Search creteria based on multiple columns Pin
PavanPareta9-Nov-06 19:21
PavanPareta9-Nov-06 19:21 
Questiondataware housing Pin
king sunny7-Nov-06 18:47
king sunny7-Nov-06 18:47 
AnswerRe: dataware housing Pin
playout7-Nov-06 18:58
playout7-Nov-06 18:58 
Questionerror browsing reportserver on a sql 2005 64bit machine Pin
playout7-Nov-06 9:16
playout7-Nov-06 9:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.