Viewing 15 posts - 421 through 435 (of 1,109 total)
Did you create a primary key on this table? If not, are there duplicate rows in this table.
If there are duplicates, are you trying to delete all of them or...
February 22, 2008 at 8:35 am
From T-SQL, on SS 2005 you can iterate through your servers in a loop and connect to them and execute a query using OPENROWSET('SQLNCLI'
OPENROWSET('SQLNCLI','Server=myserver;Trusted_Connection=yes;','SELECT ...')
However, there are third party tools...
February 22, 2008 at 2:20 am
Alen cappelletti (2/21/2008)
I got this table
-----
CREATE TABLE [dbo].[Logs](
[IDLog] [int] IDENTITY(1,1) NOT NULL,
[IDlogGiorno] [int] NOT NULL,
[Date_Time] [datetime] NOT NULL,
[c-Ip] [varchar](20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[cs-Uri-Stem] [varchar](150) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[cs-Uri-Query] [varchar](250) COLLATE SQL_Latin1_General_CP1_CI_AS...
February 21, 2008 at 6:39 am
restore database databasename with recovery
Regards,
Andras
February 21, 2008 at 4:58 am
Hi Harsh,
You should not really worry too much about how data is stored in the database, at the end of the day this is the task of the database management...
February 21, 2008 at 3:27 am
Ratheesh.K.Nair (2/21/2008)
Hi,How can i find the mdf and ldf using query?
TAI
On SQL Server 2005:
select physical_name from sys.database_files
for 2000 use dbo.sysfiles
In both cases use the...
February 21, 2008 at 3:14 am
avinash repe (2/19/2008)
Yes i am going to re-install SQL SERVER 2005,where reinstalling it ask for collation setting,that you can set.
And i am going to set according to...
February 19, 2008 at 3:19 am
Kenneth Wilhelmsson (2/19/2008)
While doing checks on FK's, don't forget to also check if it's trustworthy or not..select OBJECTPROPERTY(object_id(myForeignKey), 'CnstIsNotTrusted')
/Kenneth
Kenneth has an excellent point. Many people disable their foreign keys, and...
February 19, 2008 at 3:11 am
Zeev Kazhdan (2/18/2008)
Here it goes; it didn't let me to run the statement with 1,NULL,NULL as you suggested,
but NULL,NULL,'DETAILED' - hope it will be ok. I"ve loaded the result file...
February 19, 2008 at 3:06 am
kgache (2/18/2008)
i am quite sure it is a mssql server..
please tell me if i understood correctly
- i have the database on a mssqlserver version 2000
- i go to the properties...
February 18, 2008 at 9:39 am
Encapsulate it into an extra select statement:
INSERT INTO Photovoltaic
( PV_site
, PV_state
...
February 18, 2008 at 9:15 am
kgache (2/18/2008)
Hello,i have a database-backup from a server version 8 and i want to restore it on a server version 7.0.
Is there a possibility to do that?
thank you very much
kg
Unfortunately...
February 18, 2008 at 7:56 am
Zeev Kazhdan (2/18/2008)
I have a primary key on both tables and I have tried to play with WITH(INDEX()), but nothing changed.
There is no trigger nor constraint...
February 18, 2008 at 4:57 am
You can look at the size and growth columns in sys.database_files before and after the reindexing.
Regards,
Andras
February 18, 2008 at 4:21 am
Zeev Kazhdan (2/18/2008)
I have a SELECT statement which runs less than 1 sec.
When I try to INSERT this select into real table, nor @table, nor #table it takes between...
February 18, 2008 at 4:08 am
Viewing 15 posts - 421 through 435 (of 1,109 total)