Viewing 15 posts - 226 through 240 (of 322 total)
Bill: Don't tell me, the power was off but your daughter still wanted to use her computer, so she lit a candle?
Or ...
August 9, 2005 at 11:11 am
Absolutely. That's just one reason I carry a laser pointer with me everywhere I go, even to the beach, along with my cellphone, PDA, scientific calculator, Leatherman tool, GPS...
August 8, 2005 at 5:52 pm
This is interesting. Profiler says that sp_MShasdbaccess is taking a long time. This presumably is the proc that populates the dropdown list of databases in QA. It...
August 1, 2005 at 5:31 pm
Mark: Thanks for your reply, but sp_dboption returns OFF for all databases on that server.
August 1, 2005 at 3:08 pm
Mike: Only the true pedant will always tell you why you should do something, so I did.
July 30, 2005 at 2:35 pm
You don't have to SET NOCOUNT OFF at the end of a stored procedure because that ends the batch and the value of any previous SET will be restored.
July 28, 2005 at 11:25 am
Also, some system procedures like sp_executesql call for nvarchar parameters. If you're a neat freak like me, you define your variables and constants as nvarchar so there...
July 28, 2005 at 11:21 am
Thanks so much, sushila. I knew there was a correlated subquery in there somewhere, but couldn't figure it out.
July 28, 2005 at 11:14 am
Thanks, sushila. That didn't show up in the first thousand or so of my google search, but it looks like exactly what I needed.
July 26, 2005 at 4:07 pm
I agree, it is a presentation layer issue. I am just trying to help out the GUI coders by getting the mask for them and stashing it in the...
July 26, 2005 at 3:32 pm
--What I have done is set up a table of business days:
CREATE TABLE BusinessDays (PK int IDENTITY(1, 1) primary key clustered, BusinessDate smalldatetime)
--Then I load it with the dates of...
July 19, 2005 at 3:28 pm
bcp will write the resultset of a query out to a file. So whatever the result of that query happens to be at the time of execution will be...
July 18, 2005 at 3:39 pm
Are times a part of the data? This returns the last possible datetime value on the last day of the previous month:
select dateadd(day, -1, convert(char(6), CURRENT_TIMESTAMP, 112) + '01 11:59:59.997PM')
This...
July 15, 2005 at 4:36 pm
Can you alter the table into which you are bcp'ing the file to add an identity column on which a clustered pk index has been established?
CREATE TABLE YerTable (
Field1 char(10),
Field2...
July 7, 2005 at 3:46 pm
Bryan: The information_schema views will give you lists of columns and tables, and the diagramming tool will give you a "pile of shirt hangers" view of your database. ...
July 6, 2005 at 10:15 am
Viewing 15 posts - 226 through 240 (of 322 total)