Viewing 15 posts - 1,096 through 1,110 (of 1,170 total)
Hi,
1. select * from fn_dblog(null,null) can be of use for you
2. Running SQL Server Profiler can also be of use
3. Windows logs which you can filter for SQL server
Regards
IgorMi
Igor Micev
June 19, 2012 at 12:23 am
OLDCHAPPY (6/18/2012)
for example, we have a...
Igor Micev
June 18, 2012 at 1:49 am
Nils Gustav Stråbø (6/8/2012)
Your second example creates and index on qotd4, not qotd5.
Oh!, Thanks
Yes, you're right definitively.
Thank you again
IgorMi
Igor Micev
June 8, 2012 at 3:34 am
Nils Gustav Stråbø (6/8/2012)
IgorMi (6/8/2012)Hi
I missed it intentionally. I just tried with IGNORE_DUP_KEY=OFF and the result is same.
IgorMi
Let's end the discussion once and for all 🙂
The original question with ignore_dup_key=on:
create...
Igor Micev
June 8, 2012 at 3:27 am
John Mitchell-245523 (6/8/2012)
IgorMi (6/8/2012)
Igor Micev
June 8, 2012 at 2:35 am
John Mitchell-245523 (6/8/2012)
IgorMi (6/8/2012)
Igor Micev
June 8, 2012 at 2:34 am
John Mitchell-245523 (6/8/2012)
IgorMi (6/8/2012)
Ensured with a direct try.
You can execute the following code and ensure yourself that the IGNORE_DUP_KEY = ON has done its effect.
create...
Igor Micev
June 8, 2012 at 2:11 am
Nils Gustav Stråbø (6/8/2012)
The result of the final SELECT statement would have been the same even if you had dropped the IGNORE_DUP_KEY=ON. The only difference is that...
Igor Micev
June 8, 2012 at 2:04 am
paul.knibbs (6/8/2012)
Igor Micev
June 8, 2012 at 1:45 am
Gianluca Sartori (6/7/2012)
IgorMi (6/7/2012)
HiThis code also returns the result you want:
This sure does the trick, but please take into account that avoiding cursors is considered a best practice.
Generally speaking, cursors...
Igor Micev
June 7, 2012 at 3:05 am
Hi
This code also returns the result you want:
create table SampleTable(
id int,
[name] varchar(20),
[Value] varchar(20),
parentId int
)
insert into SampleTable(id,name,Value,parentId)
values
(100,'Define','KIA',2),
(200,'Measure','Tollgate',2),
(300,'Control','Workshield',2),
(400,'Analyse','fileFolder',2),
(500,'Imporve','Gate',2)
go
declare @id int
declare @name varchar(20)
declare @value varchar(20)
declare @parentId int
declare @msg varchar(1000)
declare Kursor Cursor for
with...
Igor Micev
June 7, 2012 at 2:39 am
GSquared (6/5/2012)
DECLARE @XML XML = '<?xml version="1.0" encoding="UTF-8"?>
<sessions accountId=''48152'' startDate=''2012-05-27'' startTime=''00:00:00'' endDate=''2012-05-28'' endTime=''00:00:00''>
<session applicationId=''357627'' applicationName=''app1'' startTime=''00:48:54'' startDate=''2012-05-27'' type=''abc'' direction=''outbound'' durationMinutes=''0.43'' token=''113ddd5999257543963a760789fc12344f27cb0bcc519f0ce6d3a907fccb0d56361c4e3151c3780c35c752cb'' bridged=''false'' callerId=''1234567890'' sessionId=''86c368af24d7eab2a84ec6660704f3d4''...
Igor Micev
June 5, 2012 at 2:37 pm
Sean Lange (6/5/2012)
IgorMi (6/5/2012)
Hi,It is like the other inserts.
Example
The table:
CREATE TABLE [dbo].[UrlSet](
[Tip] [smallint] NOT NULL,
)
The insert:
Insert Into UrlSet(Tip,url)
Values (1,'<Urls NavigationGroup="1">
<Item ItemUrl="~/About.aspx" />
</Urls>')
I don't know what your...
Igor Micev
June 5, 2012 at 2:28 pm
Hi,
It is like the other inserts.
Example
The table:
CREATE TABLE [dbo].[UrlSet](
[Tip] [smallint] NOT NULL,
)
The insert:
Insert Into UrlSet(Tip,url)
Values (1,'<Urls NavigationGroup="1">
<Item ItemUrl="~/About.aspx" />
</Urls>')
Igor Micev
June 5, 2012 at 2:10 pm
June 4, 2012 at 11:04 am
Viewing 15 posts - 1,096 through 1,110 (of 1,170 total)