all groups > sql server programming > may 2007 > threads for saturday may 5
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
simple insert sql statement does'nt work!
Posted by giddy at 5/5/2007 4:27:28 PM
hi ,
Ok , i'm tried everything , but this does'nt work:
class DAL {
public static void RunQuery(string sqlStr)
{
using (SqlConnection connection = new
SqlConnection(connStr))
{
SqlCommand cmd = new SqlCommand(sqlStr,connection);
... more >>
SQL Express and SQL Developer allow remote connections?
Posted by Charlie NO[at]SPAM CBFC at 5/5/2007 3:43:48 PM
Can't seem to connect to these databases over a network. Doc's say... "By
default, SQL Server 2005 Express, Evaluation, and Developer editions allow
local client connections only". Does that mean setting can be overriden or
does it mean local connections only.
Thanks,
Charlie
... more >>
Get rid of user
Posted by Mark Goldin at 5/5/2007 11:43:56 AM
I am trying to remove a login from a database but because it owns schema I
can't delete him. How can I delete that login?
Thanks
... more >>
Property IsPrimaryFile is not available
Posted by Mukut at 5/5/2007 5:06:49 AM
Hi all,
I have restored a database in SQL SERVER 2005.After restoring the
database, I can make query on that particular database.But problem is
when I right click on the database name(to open the properties etc.),
I am getting the following error .....
TITLE: Microsoft SQL Server Management... more >>
Archive-Purge Strategy?
Posted by Don Miller at 5/5/2007 12:00:00 AM
I have a production database where inactive "customers" and all their linked
and associated data in multiple tables are periodically and permanently
deleted.
What I'd like to do now is to archive all of the information for each
deleted customer in an offline database (same data model on the... more >>
Self deadlock
Posted by Chakravarthy at 5/5/2007 12:00:00 AM
This seems to be a Self deadlock scenario in SQL Server 2005, that i wanted
to present , and ask for any feedbackon how to avoid this :-
1) I first create the 2 tables as in Appendix A below
2) I then run this in one Query screen :
BEGIN TRAN
UPDATE dbo.T1 SET col2 = col2 + 'A' WHERE co... more >>
using Rand function on sql server
Posted by Roy Goldhammer at 5/5/2007 12:00:00 AM
Hello there
I need to fill table with 1,000,000 numbers.
The numbes should be 1 to 1,000,000. randomally and won't return on them
self.
I've tried to create code for that but it realy hard
Is there a code for this problem?
... more >>
|