Archived Months
January 2003
March 2003
April 2003
May 2003
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
April 2008
all groups > sql server programming > december 2003 > threads for saturday december 27

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Multiple Suspect Databases
Posted by Richard M. at 12/27/2003 9:46:13 PM
I administer a server with 300 small databases. It appears to be some type of file corruption and now all the databases are suspect. I am getting the following errors Cannot associate files with differnet databases. Also: Log file does not match the primary file. It may be from a different d...more >>


Running a SQL file from OSQL command line utility
Posted by Murtix Van Basten at 12/27/2003 9:40:17 PM
Hi, I have dumped a very large database from mysql (using mysqldump program) as a raw sql file. The reason was, convert this database to a MSSQL database. Since mysqldump creates the file as raw sql file with the database-table structures and the data in it, I thought using OSQL command li...more >>

storing moving cctv images in sqlserver
Posted by faddrickremo at 12/27/2003 9:35:54 PM
Dear all, Can somebody help me in giving me ideas how to store cctv images into sqlserver. iam working on a project that very much requires to store the daily activities of a shop into a database. Bye faddrcikremo...more >>

Hand needed with t-sql
Posted by David at 12/27/2003 1:04:27 PM
Is it possible to write these two blocks of code as one? The only difference between them is the AND clause: AND is_trade_date = 1 versus AND is_sett_date = 1. Cheers, David IF (@trade_dates = 1) BEGIN IF EXISTS (SELECT 1 FROM calendar WHERE calendar_date = @date...more >>

Can't update this view
Posted by Daniel at 12/27/2003 10:21:52 AM
Hi, I have this view bounded to a form: SELECT ProjectItems.*, CASE WHEN ([SerialNo]<>'0') THEN ([Pos]+[SerialNo]) ELSE (SELECT [Pos] FROM ProjectItems AS Parent WHERE Parent.ID=ProjectItems.[DependOn]) END AS ParentPos FROM ProjectItems WHERE (ShipSep=1) Why this view cannot be upd...more >>

How do I do this join
Posted by Rodger at 12/27/2003 9:41:07 AM
I have four tables: customers, ordermaster, orderdetail, and products. I'm trying to get the details of a customer, their order, each item in the order and the details of each product in the order. customers, ordermaster, orderdetail are parent/child (1 to n) of each other, and products is the pa...more >>

convert a blank field
Posted by Mica at 12/27/2003 6:51:05 AM
How can I convert a blank field while selecting from the database? Similar to the isnull function, is there a isblank function? for example select isnull(a.company, 'Not Available') "Company Name",... from [table] Is there something like isblank(a.company, 'Not Available') ? Txs for your fee...more >>

exception in trigger with big sql
Posted by phani kumar at 12/27/2003 3:50:48 AM
hi, following is the error: SqlDumpExceptionHandler: Process 8 generated fatal exception c0000005 EXCEPTION_ACCESS_VIOLATION. SQL Server is terminating this process. following trigger is on guest table. ===================================== CREATE TRIGGER guest_update ON dbo.guest FOR U...more >>



Updateble JOIN view (How to... ?)
Posted by Daniel at 12/27/2003 2:47:09 AM
Hi, I have created a function that returns a value based on a table. Now I want to display a table1's content with another column that represents the function's value for it. I use a JOIN to display that information but then i cannot edit the table. is ther a possibility to lock onl...more >>

Referencing a column in a table in a trigger
Posted by Daniel at 12/27/2003 2:40:10 AM
Hi, I want to create a trigger that would check a column in the table and then continue (or not). something like: if (TableName.Column = 2) return /* else continue executing... ...more >>

refreshing the tables collection
Posted by vansick NO[at]SPAM gmx.net at 12/27/2003 12:33:31 AM
Hi, How do I refresh the tables collection from VBA? (Like refresh with [F5]) Thanks, Alex...more >>


DevelopmentNow Blog