Viewing 15 posts - 7,486 through 7,500 (of 13,460 total)
Sean Lange (5/31/2011)
Pretty sure this article will provide you with some useful information.
nice link!
June 1, 2011 at 1:37 pm
char(44) is a comma, is that your special character?
this statement in syntactically correct:
--the char
select char(44)
--an example
select 'the severity level of the patient or resident' + char(44) + 'injury'
INSERT INTO [dbo].[Events]
([ID]
,...
June 1, 2011 at 1:35 pm
if not too much time has past, the default trace, which logs DDL events like CREATE ALTER DROP, might still have it:

June 1, 2011 at 1:22 pm
ok, an update to random is certainly possible... you were really thin on the actual firstname/lastname table definitions, so i cannot provide you with a perfect example...
but, based on your...
June 1, 2011 at 1:17 pm
dbcc timewarp? (inside joke)
actually, i think the issue is the times are cumulative, and are since the server restarted...
so it's quite possible if your server is active, or has been...
June 1, 2011 at 12:42 pm
this will be boatloads faster and is a single set based query, instead of using a cu..cur... i can't even say the word...it's so evil....
SELECT top 1000 *
FROM (
SELECT
A.FName,
B.LName
FROM FNAMES...
June 1, 2011 at 12:32 pm
they way i would recommend is by using the script i contributed in this article:
Reverse Engineer A Database Trace[/url]
first find all the traces on your server with SELECT * FROM...
June 1, 2011 at 11:41 am
huslayer (6/1/2011)
Hi,I'm having the same problem and Ive sybase client installed, so what path variables you're talking about here and how to change it?
Thanks
the %PATH% allows you to do things...
June 1, 2011 at 11:03 am
In SQL Server, they are the same thing...in ORACLE and maybe other DBMS systems an AFTER trigger is different.
The first ingredient in properly employing triggers is to understand the differences...
May 27, 2011 at 12:19 pm
ruff if you only have hours and minutes, how are you going to get a datetime? you need a base/starting point...is that jan 1 of this year, for example?
you could...
May 27, 2011 at 12:13 pm
there's a trick that you can get randomly ordered records by using the NEWID() function...is that what you are after?
select top 10
ColumnList
From SomeTable
order By NEWID()
and this?
in both...
May 27, 2011 at 11:09 am
something like this?
--SandBox_2011-05-27_10-51-42.bak
SELECT db_name()
+'_'
+ REPLACE(
...
May 27, 2011 at 8:52 am
ColdCoffee (5/27/2011)
May 27, 2011 at 8:47 am
what i posted works...whether there's more than one manager or not.
change the query to work on YourTable instead of mySampleData... then tell us what you expected that is different fromt...
May 27, 2011 at 7:53 am
physical file? no...you have to ask the SQL isntance what databases it currently has ...usually via a query, though...for example
SELECT name from master.dbo.sysdatabases
why don't you want to connect to discover...
May 27, 2011 at 7:39 am
Viewing 15 posts - 7,486 through 7,500 (of 13,460 total)