all groups > sql server (alternate) > december 2006 > threads for december 22 - 28, 2006
Filter by week: 1 2 3 4 5
SS 2005 Express- Allowing null values and Foriegn Key Constraints
Posted by Rico at 12/28/2006 7:57:13 PM
Hello,
I have a foreign key constraint between two tables (Appointments and
MissedAppointmentReasons) and I'd like to allow null values in Appointments
table for the field containing the MissedAppointmentReason, but currently, I
get a Foreign Key Constraint Error when I try to add a record ... more >>
Connection SQL Server 2005 with DNS hostname mismatch
Posted by Mark Delaney at 12/28/2006 4:33:26 PM
When using the MS SQL 2005 JDBC driver, I now need to have the DNS name
resolution to the client correctly set up. If not I get the following
error:
SQLState: 08S01
SQLError: 0
Message: hostname : hostname
Where "hostname" is the client host name. It doesn't seem to matter if
I
use an IP... more >>
Picture in database
Posted by Igor at 12/28/2006 3:55:35 PM
Can i put picture in sql server database but not filename and path. I want
to put complete picture in field in database. Is it possible?
... more >>
Convert from Access to SQL Server
Posted by Igor at 12/28/2006 2:01:41 PM
Can I convert .MDB file to SQL Server database or I need to develop SQL
server database from begin, every table, every field?
... more >>
Document Search for CMS
Posted by StevePBurgess NO[at]SPAM gmail.com at 12/28/2006 6:32:54 AM
I have a database which stores documents (e.g. policies and guidelines)
in our content management system. The follow relationships exist:
Documents (1-to-Many) LinkTableKeywordLink (Many-to-1) Keywords
Documents (1-to-Many) LinkTableAttachments (Many-to-1) Attachments
Documents (1-to-Many)... more >>
putting names of objects to control-flow loop creating objects
Posted by fireball at 12/27/2006 6:03:20 PM
please help newbie
I need to create a lot of objects the same type (let's say: schemas)
I wish to use paramerized block in loop to do so.
- how to put names of my objects to such control-flow?
belss you for help
... more >>
how to try-catch 'sp_addrolemember'?
Posted by fireball at 12/27/2006 3:36:53 PM
how to try-catch sp_addrolemember?
... more >>
Question: re-associate dbo with sa??
Posted by BD at 12/27/2006 3:36:46 PM
Hi all.
Running SQL2K SP4 on W2K3 Standard, SP4.
I have just refreshed a database on one server with a backup from
another. The database had existed previously on the target server, and
I am just refreshing its contents. I used the following approach
1) From the target server, create a SQ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
server version
Posted by fireball at 12/27/2006 3:35:05 PM
I need to test, wheather my scripts run under proper instance version (ie.
if it is 2005).
I only know @@VERSION, but taht's not it. Any suggestions?
... more >>
Site Search Code Help
Posted by EvoEight NO[at]SPAM gmail.com at 12/27/2006 10:25:21 AM
I'm writing a search for our site and I'm running into a few problems.
When I run the query like this, it runs just fine:
Declare @Keywords varchar(2000)
Select @Keywords = 'modern trial advocacy canada'
Select product_id, name, count(name) hits
FROM estore_products
INNER JOIN sequence
... more >>
MI5 Persecution: Capital Radio - Chris Tarrant
Posted by MI5Victim NO[at]SPAM mi5.gov.uk at 12/26/2006 6:38:08 PM
-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=
-= Capital Radio - Chris Tarrant -=
-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=
Capital Radio DJs have been "in on it" from the start. One of the first
things I heard in the summer of 1990 was from a Capital DJ who said, "If
he listens to Capital then he can't be a... more >>
help me plz!!
Posted by frien at 12/26/2006 1:01:25 PM
I am pretty new to the subject...i would really appreciate if you could
help me with this doubt...
I need to write a C# code which performs the following:
a) connects to the sql server database( I dont know the procedure to
connect to the data base)
b) on a web page i need to display the ... more >>
Connections
Posted by Marcelo at 12/26/2006 12:33:13 PM
Hi I would like to know about connections of sa, where SQL store the
number of connections
... more >>
Dynamically Changing the length of a varchar(n) field
Posted by John at 12/26/2006 3:46:45 AM
Hi Everyone,
I have a question about dynamically changing the length of a varchar(n)
field, in case the value I'm trying to insert is too big and will give
a "truncated" error, but before the error is given! i.e. Is there some
kind of a way to "test" the length of the field while Inserting the... more >>
Fetch Query that triggered the TRIGGER
Posted by Anubhav at 12/25/2006 11:13:19 PM
Hello
The problem is need to find out the querry that has updated or inserted
into the table and in turn 'Triggered the Trigger'. I have the user
name, the machine name, Application name, but not the query. The update
is not desired and the application is doing it but the application
being so... more >>
http://www.dbahub.com
Posted by dbahub.com at 12/22/2006 12:03:47 PM
Hello Folks,
I have been compiling this new site www.dbahub.com, from a couple of
weeks. I am trying to get most of the popular databases under one site,
where all DBAs can find relevent information.
I encourage to register with this website and submit documents,
scripts, tips etc. and I will m... more >>
ORDER BY CASE
Posted by Sharif Islam at 12/22/2006 11:13:25 AM
this is my query=
"SELECT i.itemid,title,SortKey from Items AS i JOIN Links AS L ON
(i.ItemID=L.ItemID) WHERE L.instructorID='12232' AND courseID='12' AND
type='Audio' order by CASE WHEN Sortkey is not null then 1 else 0 end"
My SortKey can be NULL. Here's the output I am getting:
(the ||... more >>
Stored Procedure Range Not Working
Posted by red vertigo at 12/22/2006 1:33:31 AM
Hi All,
I am trying to write a basic stored procedure to return a range of
values but admit that I am stumped. The procedure syntax used is:
ALTER PROCEDURE Rpt_LegacyPurchaseOrderSp(
@StartPoNumber PONumberType = 'Null',
@FinishPoNumber PONumberType = 'Null')
AS
SET @StartPoNumber ... more >>
How to search binary fields?
Posted by Mintyman at 12/22/2006 12:00:00 AM
Hi,
I want to run queries on a table that has binary fields in it. How do I
filter on a binary field? E.g. One of the fields is called
'Account_Manager_ID' which is binary - I would like to do a simple Select *
from company where Account_Manager_ID = 'blah blah blah'
When I do this, it r... more >>
Script to combine multiple rows into 1 single row
Posted by Mintyman at 12/22/2006 12:00:00 AM
Hi,
I'm working on a system migration and I need to combine data from multiple
rows (with the same ID) into one comma separated string. This is how the
data is at the moment:
Company_ID Material
0x00C00000000053B86 Lead
0x00C00000000053B86 ... more >>
protecting functions from view it
Posted by Pulpet at 12/22/2006 12:00:00 AM
Hello,
I wrote some complicated functions (and stored procedures) in database
at my work. System administrator (and every db user) can view codes
(in Enterprise Manager for eg.). My employer needs periodic modifying
of code and so I'm required to do it. But I can loose my job :)
because users... more >>
|