Viewing 15 posts - 76 through 90 (of 1,109 total)
You can get the location of the characters you are looking for by using patindex
e.g.
declare @a varchar(10)
set @a = 'abcd a_b'
select patindex('%[ _]%', @a)
If you need to remove things,...
August 11, 2008 at 2:12 am
You could use something like
WITH DG
AS ( SELECT DATEDIFF(day,
...
August 11, 2008 at 2:02 am
sanjeev_krs2004 (8/8/2008)
Hican we do add OR or AND in INNER and OUTER joins conditions..?
if anybody has any clue, please reply.
Yes, you can. The following (absolutely...
August 8, 2008 at 8:42 am
Use "COLLATE Latin1_General_CI_AS" in places where you do things with strings of different collations. Like:
T2.Global_ID=T1.Global_GID COLLATE Latin1_General_CI_AS
This si the quickfix. To do it properly you should look at why you...
August 8, 2008 at 7:42 am
Loner (8/8/2008)
BTW can anyone tell me what is the difference between 2005...
August 8, 2008 at 6:58 am
One solution is to use xp_cmdshell to copy the files to a network share (note that you need to enable xp_cmdshell, and your SQL Server service account must have permission...
August 8, 2008 at 5:39 am
If I understood you right, you can use a recursive query to get all the children of a particular node:
WITH closedMyTable ( Pri_ID, ReflID, ParentID )
...
August 8, 2008 at 5:22 am
Sandy (8/8/2008)
Andras,If in Sql Server 2000, then...
Cheers!
Sandy.
Now, 2000 is probably when my solution above is actually relevant (2000 does not have a default trace).
On 2000 there is no with tableresult,...
August 8, 2008 at 4:41 am
Sandy (8/8/2008)
Thanks, but my question was who drop my table instead of delete the data, Is DDL command logged in transaction table?
we can also achieve this by another command too...
August 8, 2008 at 4:30 am
Sandy (8/8/2008)
Hi All,I need a query to know who deleted my Table..from my database.
Cheers!
Sandy.
Well, unless you were running a trace, it is not too easy to figure out who did...
August 8, 2008 at 4:07 am
ajaymistry_07 (8/8/2008)
Is anybody know that do we have anything like Oracle's inbuilt primary key ROWID which is also accessible to database developer.
I...
August 8, 2008 at 2:57 am
Abhijit (8/8/2008)
Hi,Anyone have code review checklist.
If you have coding guidelines use those. However, some things cannot be checked automatically, for those: http://www.osnews.com/story/19266/WTFs_m
Regards,
Andras
August 8, 2008 at 2:52 am
Just a note that this limit seems to have stayed the same in SQL Server 2008, so upgrading to a newer version may not help here, and you should look...
August 8, 2008 at 2:37 am
blom0344 (8/8/2008)
The source database is SQL server 2000 and the message indicated that the...
August 8, 2008 at 2:34 am
Viewing 15 posts - 76 through 90 (of 1,109 total)