Viewing 15 posts - 6,496 through 6,510 (of 9,643 total)
Matt Miller (12/23/2008)
If you don't have primary keys set up...
December 23, 2008 at 1:13 pm
Use Books on line and/or go to http://www.jumpstarttv.com. Here are the search results for Profiler at jumpstarttv
December 23, 2008 at 12:08 pm
I'd recommend using SQL Profiler to see what command is being sent to the SQL Server. This can be found under the tools menu in SSMS. You can...
December 23, 2008 at 11:52 am
It is in dbo, which is usually the default for the database creator.
What did the table you are trying to delete from turn up as?
December 23, 2008 at 11:42 am
From BOL:
Beginning in SQL Server 2005, each object belongs to a database schema. A database schema is a distinct namespace that is separate from a database user. You can think...
December 23, 2008 at 11:27 am
Alter Table schema.table
Drop Constraint FK_Name
December 23, 2008 at 11:16 am
It is common to have tables that have multiple columns that create the uniqueness of row. Some SQL Server DBA's like to use these as composite primary keys, others...
December 23, 2008 at 11:00 am
Count me in with David in wondering what the business purpose for this might be. Updating 748 columns in multiple tables with n number of rows in 9 minutes...
December 23, 2008 at 10:54 am
There is no built-in method to handle this. Something like this would probably work, but would not handle holidays. The best way would use a dates table.
[font="Courier New"]--...
December 23, 2008 at 10:49 am
How are you choosing which is new product and which is old product? It looks random to me.
December 23, 2008 at 10:33 am
Is the table in the dbo shema or another schema?
December 23, 2008 at 10:31 am
Why must you return only 1 row at a time? Couldn't you return the data as a set and let the business layer or UI handle the looping? ...
December 23, 2008 at 10:22 am
In .NET the preferred way to handle this is to use the ToSTring function with a Format specified. Like this:
Now.ToString("yyyyMMddhhmmss")
December 23, 2008 at 10:12 am
First I'd get rid of the "*" in the delete as it is not necessary in SQL Server. Then I would look at permissions on the table for the...
December 23, 2008 at 9:58 am
Right side border on the left hand rectangle?
December 23, 2008 at 9:48 am
Viewing 15 posts - 6,496 through 6,510 (of 9,643 total)