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 >>
Don't see what you're looking for? Search DevelopmentNow.com.
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 >>
|