Viewing 15 posts - 721 through 735 (of 1,065 total)
Your logical data model can have many-to-many relationships, but they usually gets resolved with an associative table when you create the physical model.
BTW, I tried using Visio to model a...
September 4, 2008 at 7:23 am
You've added the -S in the middle of the -o parameter, try:-
bcp "select fileoutput from [new_db]..[Invoice_Table] order by roworder" queryout c:\invoice\template\customer.html -c -T -SSQLCLUSTER\SSQLSERVER -o c:\invoice\template\bcpOutput.txt
September 4, 2008 at 6:24 am
You need to use -S to specify the name of the server/instance you are trying to connect to AND either the -T (if you are using Windows Authentication) or -U...
September 4, 2008 at 5:35 am
Yes, the cache is shared for both data and procedures.
Run DBCC FREEPROCCACHE and DBCC DROPCLEANBUFFERS to clear the procedure and data cache between executions.
August 22, 2008 at 8:12 am
database by SQLServer, transaction log by TSM how would you do a restore? Restore the last database via EM then cycle through the transaction logs via TSM?
Precisely... just don't...
August 22, 2008 at 8:05 am
Backing up the transaction log effectively truncates it.
TSM can backup the .BAK and/or TRN files generated by maintenance plans or your own scripts. But it can also backup the database/transaction...
August 22, 2008 at 6:38 am
You need to use a computed column for what you want, not a constraint:-
CREATE TABLE tbTest
(
[Id] [int] IDENTITY(1,1) NOT NULL,
...
August 22, 2008 at 4:47 am
fn_get_sql only works for queries that SQL Server decides to cache.
Check that you are getting a valid handle by selecting @Handle:-
DECLARE @Handle binary(20)
SELECT @Handle = sql_handle FROM sysprocesses WHERE spid...
August 22, 2008 at 4:31 am
Look in BOL for fn_get_sql (note, you will need the version of BOL updated with SP3 information) for further information, but this is what you need:-
DECLARE @Handle binary(20)
SELECT @Handle =...
August 22, 2008 at 2:22 am
Operating system error 32(The process cannot access the file because it is being used by another process.)
Something else has the BAK file open.
Are you backing the file up to...
August 19, 2008 at 1:46 am
Try taking the GO statements out.
They indicate the end of a batch, which is breaking your BEGIN...END blocks
August 18, 2008 at 9:09 am
Does anyone have a god resource on where to start?
I'm not sure how much of a hand god had in writing any of those books;)
August 1, 2008 at 8:11 am
Look at this URL
http://www.microsoft.com/australia/servers/sql/editions/developer/default.mspx
It is specific about Test and Demo servers, so QA and/or UAT boxes are still not Production boxes and therefore it's legitimate to use Developer Edition.
Edited...
July 31, 2008 at 8:33 am
Yes...
If you use a domain account for the SQL server service, and that account has permissions to write to the other server then you can back up directly (using...
July 31, 2008 at 8:21 am
I have a ldf file that seems to be growing at a rate of 100 meg per day, this is on a test server where we are testing a...
July 31, 2008 at 7:42 am
Viewing 15 posts - 721 through 735 (of 1,065 total)